summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-07-24 04:27:48 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 17:47:18 (GMT)
commit8faa8b077b2cdc4e4646842fe50b07840955a013 (patch)
tree9c55a56ad5bb36219c8cf030329e67acd1b7e2e0 /include/linux
parentaa888a74977a8f2120ae9332376e179c39a6b07d (diff)
downloadlinux-fsl-qoriq-8faa8b077b2cdc4e4646842fe50b07840955a013.tar.xz
hugetlb: support boot allocate different sizes
Make some infrastructure changes to allow boot-time allocation of different hugepage page sizes. - move all basic hstate initialisation into hugetlb_add_hstate - create a new function hugetlb_hstate_alloc_pages() to do the actual initial page allocations. Call this function early in order to allocate giant pages from bootmem. - Check for multiple hugepages= parameters Acked-by: Adam Litke <agl@us.ibm.com> Acked-by: Nishanth Aravamudan <nacc@us.ibm.com> Acked-by: Andrew Hastings <abh@cray.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions