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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux