]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix MPOL_F_VERIFY
authorAndi Kleen <ak@suse.de>
Tue, 13 Sep 2005 08:25:08 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:28 +0000 (08:22 -0700)
commit7d7ac23745451da8ac3a94920c3623edff7da076
tree8b0abd6eba79f4fa0f4144ca94d272a0ef826266
parent7aafc55860b1a8b335a3bff89e3ba0ba0dd02ef2
[PATCH] Fix MPOL_F_VERIFY

There was a pretty bad bug in there that the code would always check the full
VMA, not the range the user requested.

When the VMA to be checked was merged with the previous VMA this could lead to
spurious failures.

Signed-off-by: "Andi Kleen" <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c