Thread (5 messages) flat view 5 messages, 3 authors, 2016-09-20

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

From: Balbir Singh <bsingharora@gmail.com>
Date: 2016-09-20 03:13:19


On 20/09/16 12:52, Aneesh Kumar K.V wrote:
Balbir Singh [off-list ref] writes:
quoted
On 20/09/16 03:31, Aneesh Kumar K.V wrote:
[...]
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help