diff options
author | David Rientjes <rientjes@google.com> | 2012-06-20 18:00:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-20 22:10:42 -0700 |
commit | c4c0e9e544a0eb640798cc66e68f394fa4a561bf (patch) | |
tree | e317cd16d6ad065ba12f3b6618ffeb9685bd2872 /fs/mount.h | |
parent | 0e3534c0417fef6e6535db8867a04798f2024e3f (diff) | |
download | kernel-common-c4c0e9e544a0eb640798cc66e68f394fa4a561bf.tar.gz kernel-common-c4c0e9e544a0eb640798cc66e68f394fa4a561bf.tar.bz2 kernel-common-c4c0e9e544a0eb640798cc66e68f394fa4a561bf.zip |
mm, mempolicy: fix mbind() to do synchronous migration
If the range passed to mbind() is not allocated on nodes set in the
nodemask, it migrates the pages to respect the constraint.
The final formal of migrate_pages() is a mode of type enum migrate_mode,
not a boolean. do_mbind() is currently passing "true" which is the
equivalent of MIGRATE_SYNC_LIGHT. This should instead be MIGRATE_SYNC
for synchronous page migration.
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions