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

From: Stefan Seyfried
Date: Mon Mar 07 2005 - 03:33:59 EST


Andrew Morton wrote:
> Pavel Machek <pavel@xxxxxx> 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 ahead, but I do not think it is worth the
>> trouble.
>>
>> OTOH we should at least tell people what went wrong, some people seen
>> same problem on VIA cpus... Please apply,
>>
>
> 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.

Stefan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/