]> err.no Git - linux-2.6/commit
[PATCH] Fix units in mbind check
authorAndi Kleen <ak@suse.de>
Tue, 21 Feb 2006 02:27:59 +0000 (18:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:10 +0000 (20:00 -0800)
commita9c930bac163c5e616ca0ba9378e7dc746c93227
tree58ff339858cee3a87893c094561eb72381044a08
parentc255d844dd73616f23e4b4733edcc2e5fa4042b2
[PATCH] Fix units in mbind check

maxnode is a bit index and can't be directly compared against a byte length
like PAGE_SIZE

Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c