[PATCH] powerpc/mm: Update the FORCE_MAX_ZONEORDER range to enable hugetlb

Balbir Singh bsingharora at gmail.com
Tue Sep 20 13:13:11 AEST 2016



On 20/09/16 12:52, Aneesh Kumar K.V wrote:
> Balbir Singh <bsingharora at gmail.com> writes:
> 
>> On 20/09/16 03:31, Aneesh Kumar K.V wrote:
[...]
>>
>> Do we need the range to be 12 13?
> 
> static inline bool hstate_is_gigantic(struct hstate *h)
> {
> 	return huge_page_order(h) >= MAX_ORDER;
> }
> 
> We consider hstate gigantic if it also == MAX_ORDER. Hence it should
> be > 12 .
> 

Good point, agreed

Balbir Singh.


More information about the Linuxppc-dev mailing list