Re: Support variable-sized huge pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/31/2013 06:52 PM, Andi Kleen wrote:
On Thu, Jan 31, 2013 at 02:23:10AM -0600, Ric Mason wrote:
Hi all,

It seems that Andi's "Support more pagesizes for
MAP_HUGETLB/SHM_HUGETLB" patch has already merged. According to the
patch, x86 will support 2MB and 1GB huge pages. But I just see
hugepages-2048kB under /sys/kernel/mm/hugepages/ on my x86_32 PAE desktop.
Where is 1GB huge pages?
1GB pages are only supported under 64bit kernels, and also
only if you allocate them explicitely with boot options.

It seem that before your patch, we also can set mutiple hugepagesz, but hugetlbfs just mount default size, correct? IIUC, how can different size huge pages be used? If set mutiple hugepagesz, which one is default size?


-Andi

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]