lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 17 May 2006 22:25:43 -0700
FromAndrew Morton <>
SubjectRe: [PATCH 01/03] Cpuset: might sleep checking zones allowed fix
Paul Jackson <pj@sgi.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-18 07:28    [from the cache]
©2003-2008