summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZachary Amsden <zach@vmware.com>2007-08-22 14:02:02 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-08-30 23:01:01 -0700
commitf24e131c7e06c4f0bbb69bebf66d16bde48c3f31 (patch)
treea145c29731dd85f1756527b5ff20e3e7d6d82c3d /Makefile
parent6f157f740ceb977982d36abbf2f54ffbc3964190 (diff)
i386: fix lazy mode vmalloc synchronization for paravirt
Found this looping Ubuntu installs with VMI. If unlucky enough to hit a vmalloc sync fault during a lazy mode operation (from an IRQ handler for a module which was not yet populated in current page directory, or from inside copy_one_pte, which touches swap_map, and hit in an unused 4M region), the required PDE update would never get flushed, causing an infinite page fault loop. This bug affects any paravirt-ops backend which uses lazy updates, I believe that makes it a bug in Xen, VMI and lguest. It only happens on LOWMEM kernels. Touching vmalloc memory in the middle of a lazy mode update can generate a kernel PDE update, which must be flushed immediately. The fix is to leave lazy mode when doing a vmalloc sync. Signed-off-by: Zachary Amsden <zach@vmware.com> Cc: Andi Kleen <ak@suse.de> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions