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

From: Nigel Cunningham
Date: Tue Jun 27 2006 - 02:59:44 EST


Hi.

On Tuesday 27 June 2006 16:33, Paul Jackson wrote:
> Nigel wrote:
> - do {
> - if (cpuset_zone_allowed(*z, gfp_mask|__GFP_HARDWALL))
> - wakeup_kswapd(*z, order);
> - } while (*(++z));
> + if (likely(!test_freezer_state(FREEZER_ON))) {
> + do {
> + if (cpuset_zone_allowed(*z, gfp_mask|__GFP_HARDWALL))
> + wakeup_kswapd(*z, order);
> + } while (*(++z));
> + }
>
>
> The cpuset_zone_allowed() check above was removed recently, thanks to
> a Chris Wright patch. So the above patch won't apply to Linus's or
> Andrew's current tree.

This is for 2.6.17. I'm just about to update my git tree. Sorry - forever
playing catchup :)

Regards,

Nigel
--
See http://www.suspend2.net for Howtos, FAQs, mailing
lists, wiki and bugzilla info.

Attachment: pgp00000.pgp
Description: PGP signature