On 20/09/16 12:52, Aneesh Kumar K.V wrote: > Balbir Singh <bsinghar...@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.