Re: [Bug 4298] swsusp fails to suspend if CONFIG_DEBUG_PAGEALLOC is also enabled

2005-03-07 Thread Barry K. Nathan
On Mon, Mar 07, 2005 at 10:35:12AM +0100, Pavel Machek wrote: > > Regarding Pavel's patch, it seems to me that it might be better to print > > the message at boot time, instead of (or in addition to?) his patch. > > Maybe we should be disabling swsusp altogether at boot in that case, if > > that's

Re: [Bug 4298] swsusp fails to suspend if CONFIG_DEBUG_PAGEALLOC is also enabled

2005-03-07 Thread Pavel Machek
Hi! > > > Isn't some Kconfig solution appropriate here? > > > > Yes, but only for the CONFIG_DEBUG_PAGEALLOC case, it does not solve the > > "cpu has no PSE" case for VIA CPUs. So the Kconfig solution is an extra > > bonus. > > Note that I've posted a Kconfig solution here: > http://marc.theaims

Re: [Bug 4298] swsusp fails to suspend if CONFIG_DEBUG_PAGEALLOC is also enabled

2005-03-07 Thread Barry K. Nathan
On Mon, Mar 07, 2005 at 09:01:47AM +0100, Stefan Seyfried wrote: > Andrew Morton wrote: [snip] > > Isn't some Kconfig solution appropriate here? > > Yes, but only for the CONFIG_DEBUG_PAGEALLOC case, it does not solve the > "cpu has no PSE" case for VIA CPUs. So the Kconfig solution is an extra >

Re: [Bug 4298] swsusp fails to suspend if CONFIG_DEBUG_PAGEALLOC is also enabled

2005-03-07 Thread Nigel Cunningham
Hi, On Mon, 2005-03-07 at 19:01, Stefan Seyfried wrote: > Andrew Morton wrote: > > Pavel Machek <[EMAIL PROTECTED]> wrote: > > >> Okay, that is because low-level assembly requires PSE (4mb pages for > >> kernel) and DEBUG_PAGEALLOC disables that capability. > >> > >> If you feel like rewriting a

Re: [Bug 4298] swsusp fails to suspend if CONFIG_DEBUG_PAGEALLOC is also enabled

2005-03-07 Thread Stefan Seyfried
Andrew Morton wrote: > Pavel Machek <[EMAIL PROTECTED]> wrote: >> Okay, that is because low-level assembly requires PSE (4mb pages for >> kernel) and DEBUG_PAGEALLOC disables that capability. >> >> If you feel like rewriting assembly code to turn off paging (and thus >> working with PSE), go ahea

Re: [Bug 4298] swsusp fails to suspend if CONFIG_DEBUG_PAGEALLOC is also enabled

2005-03-06 Thread Andrew Morton
Pavel Machek <[EMAIL PROTECTED]> wrote: > > Hi! > > > Problem Description: > > swsusp normally works, but if I enable CONFIG_DEBUG_PAGEALLOC, it breaks -- > > after "PM: snapshotting memory", swsusp never gets to the "critical > > section" and > > it kind of bounces back from the suspend attempt,

Re: [Bug 4298] swsusp fails to suspend if CONFIG_DEBUG_PAGEALLOC is also enabled

2005-03-06 Thread Pavel Machek
Hi! > Problem Description: > swsusp normally works, but if I enable CONFIG_DEBUG_PAGEALLOC, it breaks -- > after "PM: snapshotting memory", swsusp never gets to the "critical section" > and > it kind of bounces back from the suspend attempt, for lack of a better way for > me to describe the effec