]> git.ipfire.org Git - people/arne_f/kernel.git/commit
lguest: wire up pte_update/pte_update_defer
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 31 Mar 2009 01:55:02 +0000 (01:55 +0000)
committerChris Wright <chrisw@sous-sol.org>
Thu, 2 Apr 2009 20:55:19 +0000 (13:55 -0700)
commitab624168973480d92c844cc6c46f97d85bedd91c
treea1982d4d915b61927e1be9016202d02534f2ca26
parent73dffc3a1e9678facba4cd762aa9a3692c7b4a72
lguest: wire up pte_update/pte_update_defer

upstream commit: b7ff99ea53cd16de8f6166c0e98f19a7c6ca67ee

Impact: intermittent guest segv/crash fix

I've been seeing random guest bad address crashes and segmentation faults:
bisect led to 4f98a2fee8 (vmscan: split LRU lists into anon & file sets),
but that's a red herring.

It turns out that lguest never hooked up the pte_update/pte_update_defer
calls, so our ptes were not always in sync.  After the vmscan commit, the
bug became reproducible; now a fsck in a 64MB guest causes reproducible
pagetable corruption.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: jeremy@xensource.com
Cc: virtualization@lists.osdl.org
Cc: stable@kernel.org
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/x86/lguest/boot.c