Re: [PATCH 01/03] Cpuset: might sleep checking zones allowed fix

From: Andrew Morton
Date: Thu May 18 2006 - 01:25:26 EST

Paul Jackson <pj@xxxxxxx> wrote:
> Fix a couple of infrequently encountered 'sleeping function
> called from invalid context' in the cpuset hooks in
> __alloc_pages. Could sleep while interrupts disabled.

I'd have thought that if all the callers get their __GFP_HARDWALLS correct
then that fishy-looking in_interrupt() test in __cpuset_zone_allowed()
could be removed?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at