The patch titled lguest: more lazy_hcalls has been added to the -mm tree. Its filename is lguest-more-lazy_hcalls.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: lguest: more lazy_hcalls From: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Some hypercalls can be batched: lazy_hcall is the wrapper which determines this, so it's pretty harmless to use lazy_hcall() instead of hcall(). Before: Time for one context switch via pipe: 6745 (6521 - 13966) After: Time for one context switch via pipe: 5406 (5170 - 7467) Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/lguest/lguest.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/lguest/lguest.c~lguest-more-lazy_hcalls drivers/lguest/lguest.c --- a/drivers/lguest/lguest.c~lguest-more-lazy_hcalls +++ a/drivers/lguest/lguest.c @@ -227,7 +227,7 @@ static void lguest_cpuid(unsigned int *e static unsigned long current_cr0, current_cr3; static void lguest_write_cr0(unsigned long val) { - hcall(LHCALL_TS, val & 8, 0, 0); + lazy_hcall(LHCALL_TS, val & 8, 0, 0); current_cr0 = val; } @@ -249,7 +249,7 @@ static unsigned long lguest_read_cr2(voi static void lguest_write_cr3(unsigned long cr3) { - hcall(LHCALL_NEW_PGTABLE, cr3, 0, 0); + lazy_hcall(LHCALL_NEW_PGTABLE, cr3, 0, 0); current_cr3 = cr3; } @@ -289,7 +289,7 @@ static void lguest_set_pte(pte_t *ptep, *ptep = pteval; /* Don't bother with hypercall before initial setup. */ if (current_cr3) - hcall(LHCALL_FLUSH_TLB, 1, 0, 0); + lazy_hcall(LHCALL_FLUSH_TLB, 1, 0, 0); } static void lguest_flush_tlb_single(unsigned long addr) _ Patches currently in -mm which might be from rusty@xxxxxxxxxxxxxxx are mm-clean-up-and-kernelify-shrinker-registration.patch use-menuconfig-objects-ii-module-menu.patch fix-stop_machine_run-problem-with-naughty-real-time-process.patch cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process.patch cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process-fix.patch define-new-percpu-interface-for-shared-data.patch use-the-new-percpu-interface-for-shared-data.patch lguest-export-symbols-for-lguest-as-a-module.patch lguest-the-guest-code.patch lguest-the-guest-code-tidyups.patch lguest-the-guest-code-tidyups-update.patch lguest-the-guest-code-update-for-mm-disable-tsc-dont-set-pge-bit.patch lguest-speed-up-paravirt_lazy_flush-handling.patch lguest-more-lazy_hcalls.patch lguest-the-host-code.patch lguest-the-host-code-tidyups.patch lguest-the-host-code-tidyups-update.patch lguest-the-host-code-borkages.patch lguest-the-asm-offsets.patch lguest-the-makefile-and-kconfig.patch lguest-the-makefile-and-kconfig-tidyups.patch lguest-the-console-driver.patch lguest-the-console-driver-tidyups.patch lguest-the-net-driver.patch lguest-the-net-driver-tidyups.patch lguest-the-net-driver-tidyups-update.patch lguest-the-block-driver.patch lguest-the-block-driver-tidyups.patch lguest-the-block-driver-tidyups-update.patch lguest-the-documentation-example-launcher.patch lguest-faster-tls-switching.patch mm-clean-up-and-kernelify-shrinker-registration-reiser4.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html