The patch titled lguest: fix guests > 1G has been added to the -mm tree. Its filename is lguest-the-documentation-example-launcher-fix-guests-1g.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: fix guests > 1G From: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Matias Zabaljauregui <matias.zabaljauregui@xxxxxxx> noticed this bug in the launcher: we were not capping the page tables at 4G, hence overwriting the guest's device descriptor page for guests with more memory than -PAGE_OFFSET. Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Cc: Matias Zabaljauregui <matias.zabaljauregui@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/lguest/lguest.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN Documentation/lguest/lguest.c~lguest-the-documentation-example-launcher-fix-guests-1g Documentation/lguest/lguest.c --- a/Documentation/lguest/lguest.c~lguest-the-documentation-example-launcher-fix-guests-1g +++ a/Documentation/lguest/lguest.c @@ -281,7 +281,7 @@ static unsigned long setup_pagetables(un unsigned int ptes_per_page = getpagesize()/sizeof(u32); /* If we can map all of memory above page_offset, we do so. */ - if (mem > -page_offset) + if (mem <= -page_offset) mapped_pages = mem/getpagesize(); else mapped_pages = -page_offset/getpagesize(); _ Patches currently in -mm which might be from rusty@xxxxxxxxxxxxxxx are git-kbuild.patch paravirt-helper-to-disable-all-io-space-fix.patch mm-clean-up-and-kernelify-shrinker-registration.patch mm-clean-up-and-kernelify-shrinker-registration-vs-git-nfs.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 modules-remove-modlist_lock.patch lguest-export-symbols-for-lguest-as-a-module.patch lguest-the-guest-code.patch fix-lguest-w-lockdep.patch lguest-the-guest-code-lguest-fix-tsc-divide-error-0000-boot-crash.patch lguest-the-host-code.patch lguest-the-host-code-lguest-vs-clockevents-fix-resume-logic.patch lguest-the-asm-offsets.patch lguest-the-makefile-and-kconfig.patch lguest-the-console-driver.patch lguest-the-net-driver.patch lguest-the-block-driver.patch lguest-the-documentation-example-launcher.patch lguest-the-documentation-example-launcher-fix-guests-1g.patch readahead-introduce-pg_readahead.patch readahead-add-look-ahead-support-to-__do_page_cache_readahead.patch readahead-min_ra_pages-max_ra_pages-macros.patch readahead-data-structure-and-routines.patch readahead-on-demand-readahead-logic.patch readahead-convert-filemap-invocations.patch readahead-convert-splice-invocations.patch readahead-convert-ext3-ext4-invocations.patch readahead-remove-the-old-algorithm.patch readahead-move-synchronous-readahead-call-out-of-splice-loop.patch readahead-pass-real-splice-size.patch mm-share-pg_readahead-and-pg_reclaim.patch readahead-split-ondemand-readahead-interface-into-two-functions.patch readahead-sanify-file_ra_state-names.patch define-new-percpu-interface-for-shared-data-version-4.patch use-the-new-percpu-interface-for-shared-data-version-4.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