CVSROOT: /cvs Module name: src Changes by: mlar...@cvs.openbsd.org 2014/07/09 09:03:12
Modified files: sys/arch/amd64/amd64: hibernate_machdep.c sys/arch/i386/i386: hibernate_machdep.c sys/arch/loongson/loongson: hibernate_machdep.c sys/kern : subr_hibernate.c Log message: Don't use the suspending kernel's VA mapping for the piglet. It's far easier and much less error-prone to just identity map it in the resuming kernel as we have more control over the VA space layout there (otherwise we are at the mercy of the suspending kernel's placement of the piglet VA). This diff also increases the size of the piglet to 4 chunks, to avoid an overwrite issue seen in m2k14 where the start of the kernel text was overwritten with a bounced chunk before unpack.