Paul Jackson 44110fe385 [PATCH] cpuset memory spread page cache implementation and hooks
Change the page cache allocation calls to support cpuset memory spreading.

See the previous patch, cpuset_mem_spread, for an explanation of cpuset memory
spreading.

On systems without cpusets configured in the kernel, this is no change.

On systems with cpusets configured in the kernel, but the "memory_spread"
cpuset option not enabled for the current tasks cpuset, this adds a call to a
cpuset routine and failed bit test of the processor state flag PF_SPREAD_PAGE.

On tasks in cpusets with "memory_spread" enabled, this adds a call to a cpuset
routine that computes which of the tasks mems_allowed nodes should be
preferred for this allocation.

If memory spreading applies to a particular allocation, then any other NUMA
mempolicy does not apply.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-24 07:33:22 -08:00
..
2005-06-24 00:06:41 -07:00
2006-03-22 07:54:06 -08:00
2006-03-22 07:54:06 -08:00
2006-03-22 07:54:06 -08:00
2006-03-22 07:53:58 -08:00
2006-03-22 07:54:06 -08:00
2006-01-11 18:42:13 -08:00
2006-03-22 07:54:01 -08:00
2006-03-22 07:54:01 -08:00
2006-03-02 08:33:07 -08:00
2005-10-29 21:40:42 -07:00
2005-04-16 15:20:36 -07:00
2006-03-22 07:54:02 -08:00
2006-03-22 07:54:02 -08:00
2006-02-08 07:52:58 -08:00
2006-03-22 07:54:06 -08:00
2006-03-22 07:53:57 -08:00
2006-03-23 07:38:07 -08:00
2006-03-22 07:54:06 -08:00