[PATCH v2 2/2] powerpc/mm/hugetlb: Add support for reserving gigantic huge pages via kernel command line

Christophe LEROY christophe.leroy at c-s.fr
Sat Jun 10 02:13:23 AEST 2017



Le 05/06/2017 à 09:47, Aneesh Kumar K.V a écrit :
> christophe leroy <christophe.leroy at c-s.fr> writes:
> 
>> Le 01/06/2017 à 16:30, Aneesh Kumar K.V a écrit :
>>> With commit aa888a74977a8 ("hugetlb: support larger than MAX_ORDER") we added
>>> support for allocating gigantic hugepages via kernel command line. Switch
>>> ppc64 arch specific code to use that.
>>
>> Is it only ppc64 ? Your patch removes things defined for the 8xx and
>> modifies stuff in init_32.c
>>
>> On the 8xx, as far as I remember, 8M pages on 4k pages mode are above
>> default MAX_ORDER, I solved it by increasing MAX_ORDER. Is that wrong ?
> 
> 
> I was hoping every platform can switch to generic code. Obviously I
> didn't test the changes on anything other than ppc64. Can you try with
> this patchset and pass hugepagesz=<size> hugepages=<number> kernel arg
> and see if hugepage allocation works for you ?
> 

I'm sorry I didn't have time to test it this week and I won't have time 
either in the next two weeks.

Christophe


More information about the Linuxppc-dev mailing list