Module Name: src Committed By: jym Date: Sat May 7 17:52:26 UTC 2011
Modified Files: src/sys/arch/x86/x86 [jym-xensuspend]: pmap.c Log Message: Fix the (recurring) problem with APDPs and Xen: unmap all of them at suspend, and let MD parts remap them when they are needed. The issue is not PAE specific, this can be triggered with i386 and amd64. Xen evaluates mappings in a lazy fashion, and it can incorrectly detects recursive ones when they are pointing to inactive pmaps. Move a comment that explains the L2 shadow page unmapping code closer to the associated function, it makes more sense. Now, you can save/suspend all kind of NetBSD domUs, with xbd(4) and xennet(4) devices. Remaining bugs are in xbd(4) and xennet(4) resuming, where the mappings have to be updated before issuing more I/Os. More Linux code reading I guess... Stay tuned. XXX (note to myself): move away from the machdep.sleep_state sysctl. To generate a diff of this commit: cvs rdiff -u -r1.77.2.10 -r1.77.2.11 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.