--- - branch: jym-xensuspend date: Fri Jul 24 11:30:29 UTC 2009 files: - new: 1.21.2.4 old: 1.21.2.3 path: src/sys/arch/x86/include/pmap.h pathrev: src/sys/arch/x86/include/pmap.h@1.21.2.4 type: modified - new: 1.77.2.5 old: 1.77.2.4 path: src/sys/arch/x86/x86/pmap.c pathrev: src/sys/arch/x86/x86/pmap.c@1.77.2.5 type: modified - new: 1.21.8.3 old: 1.21.8.2 path: src/sys/arch/xen/include/xenpmap.h pathrev: src/sys/arch/xen/include/xenpmap.h@1.21.8.3 type: modified - new: 1.12.4.5 old: 1.12.4.4 path: src/sys/arch/xen/x86/x86_xpmap.c pathrev: src/sys/arch/xen/x86/x86_xpmap.c@1.12.4.5 type: modified - new: 1.4.12.4 old: 1.4.12.3 path: src/sys/arch/xen/xen/xen_machdep.c pathrev: src/sys/arch/xen/xen/xen_machdep.c@1.4.12.4 type: modified - new: 1.31.2.4 old: 1.31.2.3 path: src/sys/arch/xen/xen/xencons.c pathrev: src/sys/arch/xen/xen/xencons.c@1.31.2.4 type: modified id: 20090724T113029Z.ac94e48cade984152da2383dcd0d4cdd0a3cfa33 log: | - rework the page pinning API, so that now a function is provided for each level of indirection encountered during virtual memory translations. Update pmap accordingly. Pinning looks cleaner that way, and it offers the possibility to pin lower level pages if necessary (NetBSD does not do it currently). - some fixes and comments to explain how page validation/invalidation take place during save/restore/migrate under Xen. L2 shadow entries from PAE are now handled, so basically, suspend/resume works with PAE. - fixes an issue reported by Christoph (cegger@) for xencons suspend/resume in dom0. TODO: - PAE save/restore is currently limited to single-user only, multi-user support requires modifications in PAE pmap that should be discussed first. See the comments about the L2 shadow pages cached in pmap_pdp_cache in this commit. - grant table bug is still there; do not use the kernels of this branch to test suspend/resume, unless you want to experience bad crashes in dom0, and push the big red button. Now there is light at the end of the tunnel :) Note: XEN2 kernels will neither build nor work with this branch. module: src subject: 'CVS commit: [jym-xensuspend] src/sys/arch' unixtime: '1248435029' user: jym