Files
kernel/include/linux
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 <lee.schermerhorn@hp.com>
Signed-off-by: Bob Picco <bob.picco@hp.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Mel Gorman <mel@skynet.ie>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:42:59 -07:00
..
2007-10-09 19:59:16 -07:00
2007-09-24 07:15:48 +02:00
2007-09-23 22:17:27 +02:00
2007-10-10 16:53:11 -07:00
2007-10-15 17:56:36 -07:00
2007-09-11 04:22:16 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:49:02 -07:00
2007-10-16 09:42:58 -07:00
2007-10-16 09:42:58 -07:00
2007-10-13 23:56:33 +02:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:52:04 -07:00
2007-10-14 12:41:52 -07:00
2007-10-15 17:56:36 -07:00
2007-10-16 09:42:49 -07:00
2007-08-26 18:35:34 -07:00
2007-10-12 14:51:12 -07:00
2007-10-13 10:18:29 +02:00
2007-09-11 22:24:45 +01:00
2007-10-10 16:54:03 -07:00
2007-10-16 09:42:53 -07:00
2007-10-16 09:42:53 -07:00
2007-10-11 22:11:12 +02:00
2007-10-09 17:15:11 -04:00
2007-10-16 09:42:50 -07:00
2007-10-16 09:42:53 -07:00
2007-10-16 09:42:53 -07:00
2007-10-16 09:42:50 -07:00
2007-09-20 13:19:59 -07:00
2007-10-12 14:51:12 -07:00
2007-10-15 12:59:43 -07:00
2007-09-19 11:24:18 -07:00