]> Git Repo - linux.git/commit
hugetlb: use only nodes with memory for huge pages
authorLee Schermerhorn <[email protected]>
Tue, 15 Dec 2009 01:58:32 +0000 (17:58 -0800)
committerLinus Torvalds <[email protected]>
Tue, 15 Dec 2009 16:53:13 +0000 (08:53 -0800)
commit9b5e5d0fdc91b73bba8cf5e0fbe3521a953e4e4d
tree58b7ca4a13b71de2132ae669fc138eb85c5ab3c8
parent267b4c281b4a43c8f3d965c791d3a7fd62448733
hugetlb: use only nodes with memory for huge pages

Register per node hstate sysfs attributes only for nodes with memory.
Global replacement of 'all online nodes" with "all nodes with memory" in
mm/hugetlb.c.  Suggested by David Rientjes.

A subsequent patch will handle adding/removing of per node hstate sysfs
attributes when nodes transition to/from memoryless state via memory
hotplug.

NOTE: this patch has not been tested with memoryless nodes.

Signed-off-by: Lee Schermerhorn <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Nishanth Aravamudan <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Adam Litke <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Eric Whitney <[email protected]>
Cc: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/vm/hugetlbpage.txt
mm/hugetlb.c
This page took 0.059098 seconds and 4 git commands to generate.