kernel_optimize_test/arch/x86/xen
Jeremy Fitzhardinge 400d34944c xen: add mechanism to extend existing multicalls
Some Xen hypercalls accept an array of operations to work on.  In
general this is because its more efficient for the hypercall to the
work all at once rather than as separate hypercalls (even batched as a
multicall).

This patch adds a mechanism (xen_mc_extend_args()) to allocate more
argument space to the last-issued multicall, in order to extend its
argument list.

The user of this mechanism is xen/mmu.c, which uses it to extend the
args array of mmu_update.  This is particularly valuable when doing
the update for a large mprotect, which goes via
ptep_modify_prot_commit(), but it also manages to batch updates to
pgd/pmds as well.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-06-25 15:17:34 +02:00
..
enlighten.c xen: implement ptep_modify_prot_start/commit 2008-06-25 15:17:23 +02:00
grant-table.c xen: make grant table arch portable 2008-04-24 23:57:32 +02:00
Kconfig Merge commit 'v2.6.26-rc8' into x86/xen 2008-06-25 12:16:51 +02:00
Makefile xen: implement save/restore 2008-05-27 10:11:38 +02:00
mmu.c xen: add mechanism to extend existing multicalls 2008-06-25 15:17:34 +02:00
mmu.h xen: implement ptep_modify_prot_start/commit 2008-06-25 15:17:23 +02:00
multicalls.c xen: add mechanism to extend existing multicalls 2008-06-25 15:17:34 +02:00
multicalls.h xen: add mechanism to extend existing multicalls 2008-06-25 15:17:34 +02:00
setup.c xen: add configurable max domain size 2008-05-27 10:11:37 +02:00
smp.c xen: implement save/restore 2008-05-27 10:11:38 +02:00
suspend.c xen: resume timers on all vcpus 2008-06-02 13:25:44 +02:00
time.c Merge commit 'v2.6.26-rc8' into x86/xen 2008-06-25 12:16:51 +02:00
vdso.h i386: move xen 2007-10-11 11:16:51 +02:00
xen-asm.S xen: fold xen_sysexit into xen_iret 2008-04-24 23:57:33 +02:00
xen-head.S xen: remove support for non-PAE 32-bit 2008-06-24 17:00:55 +02:00
xen-ops.h xen: resume timers on all vcpus 2008-06-02 13:25:44 +02:00