linux/arch/x86/xen
Jeremy Fitzhardinge e2426cf85f xen: avoid hypercalls when updating unpinned pud/pmd
When operating on an unpinned pagetable (ie, one under construction or
destruction), it isn't necessary to use a hypercall to update a
pud/pmd entry.  Jan Beulich observed that a similar optimisation
avoided many thousands of hypercalls while doing a kernel build.

One tricky part is that early in the kernel boot there's no page
structure, so we can't check to see if the page is pinned.  In that
case, we just always use the hypercall.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-06-02 13:24:40 +02:00
..
enlighten.c xen: avoid hypercalls when updating unpinned pud/pmd 2008-06-02 13:24:40 +02:00
grant-table.c xen: make grant table arch portable 2008-04-24 23:57:32 +02:00
Kconfig xen: add configurable max domain size 2008-05-27 10:11:37 +02:00
Makefile xen: implement save/restore 2008-05-27 10:11:38 +02:00
mmu.c xen: avoid hypercalls when updating unpinned pud/pmd 2008-06-02 13:24:40 +02:00
mmu.h xen: avoid hypercalls when updating unpinned pud/pmd 2008-06-02 13:24:40 +02:00
multicalls.c x86: coding style fixes to arch/x86/xen/multicalls.c 2008-04-17 17:40:50 +02:00
multicalls.h xen: add batch completion callbacks 2007-10-16 11:51:30 -07: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: implement save/restore 2008-05-27 10:11:38 +02:00
time.c xen: maintain clock offset over save/restore 2008-05-27 10:11:38 +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-05-22 18:42:49 +02:00
xen-ops.h xen: implement save/restore 2008-05-27 10:11:38 +02:00