PING: Linux: Support transparent hugepages
igor.veresov at oracle.com
Wed Apr 6 13:53:28 PDT 2011
I think this looks ok.
So, older kernels wouldn't return an error if you use MAP_HUGETLB?
I filed: 7034464 Support transparent large pages on Linux
On 4/6/11 8:21 AM, Andrew Haley wrote:
> On 04/04/2011 05:43 PM, Igor Veresov wrote:
>> I didn't mean the work I mentioned in the last paragraph that you quoted
>> exists, I rather meant that it should be done in order to implement
>> proper transparent pages support in linux (because we want the older
>> linux kernels work too).
>> I think it should be analogous to the Solaris implementation, which can
>> be found here:
> Here is the full patch, with backwards compatibility. It builds on
> old and new systems, preferring MAP_HUGETLB but falling back to the
> old SysV shmget() if that doesn't work.
> If this looks right to you, I'll prepare a CR for pushing. I'll need
> a bug ID, please.
More information about the hotspot-dev