summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorPaul Jackson2006-01-08 10:00:56 +0100
committerLinus Torvalds2006-01-09 05:12:43 +0100
commit45b07ef31d1182d2cfde7711327e3afb268bb1ac (patch)
tree3bf820531f920b43d4ed963643b1f565c82bcaa4 /mm/hugetlb.c
parent[PATCH] SwapMig: Switch error handling in migrate_pages to use -Exx (diff)
downloadkernel-qcow2-linux-45b07ef31d1182d2cfde7711327e3afb268bb1ac.tar.gz
kernel-qcow2-linux-45b07ef31d1182d2cfde7711327e3afb268bb1ac.tar.xz
kernel-qcow2-linux-45b07ef31d1182d2cfde7711327e3afb268bb1ac.zip
[PATCH] cpusets: swap migration interface
Add a boolean "memory_migrate" to each cpuset, represented by a file containing "0" or "1" in each directory below /dev/cpuset. It defaults to false (file contains "0"). It can be set true by writing "1" to the file. If true, then anytime that a task is attached to the cpuset so marked, the pages of that task will be moved to that cpuset, preserving, to the extent practical, the cpuset-relative placement of the pages. Also anytime that a cpuset so marked has its memory placement changed (by writing to its "mems" file), the tasks in that cpuset will have their pages moved to the cpusets new nodes, preserving, to the extent practical, the cpuset-relative placement of the moved pages. Signed-off-by: Paul Jackson <pj@sgi.com> Cc: Christoph Lameter <christoph@lameter.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions