aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2007-02-20 13:57:49 -0800
committerLinus Torvalds <[email protected]>2007-02-20 17:10:13 -0800
commit8af5e2eb3cc4450ffba9496c875beac41bf4f4f8 (patch)
treed15c56e8add1b53d5ed4d5dcb5d1f016d8f2b1c9 /include/linux
parentb446b60e4eb5e5457120c4728ada871b1209c1d0 (diff)
[PATCH] fix mempolicy's check on a system with memory-less-node
bind_zonelist() can create zero-length zonelist if there is a memory-less-node. This patch checks the length of zonelist. If length is 0, returns -EINVAL. tested on ia64/NUMA with memory-less-node. Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Andi Kleen <[email protected]> Cc: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions