summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2007-05-06 23:49:32 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 21:12:53 +0200
commitc596d9f320aaf30d28c1d793ff3a976dee1db8f5 (patch)
treea07a482831077ef0220467fadf77218272638ddb /include
parentslab: mark set_up_list3s() __init (diff)
downloadlinux-c596d9f320aaf30d28c1d793ff3a976dee1db8f5.tar.xz
linux-c596d9f320aaf30d28c1d793ff3a976dee1db8f5.zip
cpusets: allow TIF_MEMDIE threads to allocate anywhere
OOM killed tasks have access to memory reserves as specified by the TIF_MEMDIE flag in the hopes that it will quickly exit. If such a task has memory allocations constrained by cpusets, we may encounter a deadlock if a blocking task cannot exit because it cannot allocate the necessary memory. We allow tasks that have the TIF_MEMDIE flag to allocate memory anywhere, including outside its cpuset restriction, so that it can quickly die regardless of whether it is __GFP_HARDWALL. Cc: Andi Kleen <ak@suse.de> Cc: Paul Jackson <pj@sgi.com> Cc: Christoph Lameter <clameter@engr.sgi.com> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions