lkml.org 
[lkml]   [2005]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcpusets: BUG: cpuset_excl_nodes_overlap() may sleep under tasklist_lock
FYI, there is an obvious bug in cpusets in 2.6.15-rcX:
cpuset_excl_nodes_overlap() may sleep (as it takes semaphore), but is
called from atomic context - select_bad_process() under tasklist_lock.
BUG. Found by Denis Lunev.

the same actually applies to cpuset_zone_allowed() which is called e.g.
from __alloc_pages()->get_page_from_freelist() and doesn't check for
GPF_NOATOMIC anyhow...

Kirill

-
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: 2005-12-28 13:49    [W:0.050 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site