[DRAFT 2/2] mm/hugetlb: Restrict HugeTLB allocations only to the system RAM nodes

2016-11-16 Thread Anshuman Khandual
HugeTLB allocation/release/accounting currently spans across all the nodes under N_MEMORY mask. CDM nodes should not be part of these. So use system_ram() call to fetch system RAM only nodes on the platform which can then be used for HugeTLB purpose instead of N_MEMORY. This isolates CDM nodes

[DRAFT 2/2] mm/hugetlb: Restrict HugeTLB allocations only to the system RAM nodes

2016-11-16 Thread Anshuman Khandual
HugeTLB allocation/release/accounting currently spans across all the nodes under N_MEMORY mask. CDM nodes should not be part of these. So use system_ram() call to fetch system RAM only nodes on the platform which can then be used for HugeTLB purpose instead of N_MEMORY. This isolates CDM nodes