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

Nigel Cunningham
2006-06-27T07:01:15Z

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]