Files
erofs-linux/kernel
Christoph Lameter 0e1e7c7a73 Memoryless nodes: Use N_HIGH_MEMORY for cpusets
cpusets try to ensure that any node added to a cpuset's mems_allowed is
on-line and contains memory.  The assumption was that online nodes contained
memory.  Thus, it is possible to add memoryless nodes to a cpuset and then add
tasks to this cpuset.  This results in continuous series of oom-kill and
apparent system hang.

Change cpusets to use node_states[N_HIGH_MEMORY] [a.k.a.  node_memory_map] in
place of node_online_map when vetting memories.  Return error if admin
attempts to write a non-empty mems_allowed node mask containing only
memoryless-nodes.

Signed-off-by: Lee Schermerhorn <[email protected]>
Signed-off-by: Bob Picco <[email protected]>
Signed-off-by: Nishanth Aravamudan <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-10-16 09:42:59 -07:00
..
2007-08-31 01:42:23 -07:00
…
…
…
…
…
2007-10-01 07:52:23 -07:00
2007-10-01 07:52:23 -07:00
…
…
…
…
2007-10-11 22:11:12 +02:00
…
2007-10-11 22:11:12 +02:00
…
…
…
2007-10-16 09:42:49 -07:00
2007-10-16 09:42:49 -07:00
…
…
2007-10-15 17:00:13 +02:00
…
…
…
2007-10-01 07:52:23 -07:00
2007-10-15 17:00:18 +02:00
…
…
2007-08-27 10:27:48 -07:00