Re: [Suspend2][ 07/13] [Suspend2] Page_alloc paranoia.

Nick Piggin
2006-06-29T16:23:40Z

Nigel Cunningham wrote:
> Hi.
>
> On Tuesday 27 June 2006 16:11, Nick Piggin wrote:
>
>>Nigel Cunningham wrote:
>>
>>>Add paranoia to the page_alloc code to ensure we don't start page reclaim
>>>during suspending.
>>
>>Nack. Set PF_MEMALLOC if you must.
>
>
> That would work for the thread doing the suspending. What about other kernel
> threads that might run and allocate memory during the cycle because of
> $RANDOM_EVENT? We don't want them triggering memory freeing either.

Haven't you suspended the other threads at this point?

What are the consequences of allocating memory?

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com