]> git.hungrycats.org Git - linux/commit
[PATCH] numa api: fix end of memory handling in mbind
authorAndrew Morton <akpm@osdl.org>
Sat, 22 May 2004 15:05:24 +0000 (08:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 22 May 2004 15:05:24 +0000 (08:05 -0700)
commite1e71f9b6c8dd34be36573346ecbbb00f34a7a0a
tree2ac01f7cf3a995381bc889efef7a1b02a70085b0
parente8a2ef16fd2fbcf65d423a137290f94bd7f2bb02
[PATCH] numa api: fix end of memory handling in mbind

From: Andi Kleen <ak@suse.de>

This fixes a user triggerable crash in mbind() in NUMA API.  It would oops
when running into the end of memory.  Actually not really oops, because a
oops with the mm sem hold for writing always deadlocks.
mm/mempolicy.c