On Thu, 2006-06-01 at 22:24 +0800, Pavel Machek wrote: > On ?t 01-06-06 10:17:22, Nicolas Troncoso Carrere wrote: > > Hi, > > I was trying out swsusp, but up bumped up with the issue that it > needs PSE. > > I've been reading the source, but havent been able to get a grasp on > why does > > it need PSE. > > Could you enlighten me? > > W/o PSE, we are using pagetables during data copy, and we may > overwrite pagetable that is still used. w/PSE pagetable might be overwritten too and data copy uses identity mapping, overwrite pagetable doesn't harm to me. From my understanding, PSE is incompatible with DEBUG_PAGEALLOC. swsusp can't work with DEBUG_PAGEALLOC now, so it's likely we thought swsusp can't work w/o PSE. currently DEBUG_PAGEALLOC is disabled with swsusp, the PSE check could be deleted. PS. we could make DEBUG_PAGEALLOC works with swsusp too. Thanks, Shaohua