Re: [Suspend2][ 07/13] [Suspend2] Page_alloc paranoia.
From: Nigel Cunningham
Date: Tue Jun 27 2006 - 02:33:20 EST
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.
Regards,
Nigel
--
See http://www.suspend2.net for Howtos, FAQs, mailing
lists, wiki and bugzilla info.
Attachment:
pgp00000.pgp
Description: PGP signature