Re: [linux-pm] [RFC][PATCH] PM: Force GFP_NOIO during suspend/resume(was: Re: Memory allocations in .suspend became very unreliable)

From: Nigel Cunningham
Date: Thu Jan 21 2010 - 15:40:58 EST


Hi.

Rafael J. Wysocki wrote:
> On Thursday 21 January 2010, KOSAKI Motohiro wrote:
>> - Ask all drivers how much they require memory before starting suspend and
>> Make enough free memory at first?
>
> That's equivalent to reworking all drivers to allocate memory before suspend
> eg. with the help of PM notifiers. Which IMHO is unrealistic.

What's unrealistic about it? I can see that it would be a lot of work,
but unrealistic? To me, at this stage, it sounds like the ideal solution.

Regards,

Nigel
--
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/