On 2/11/21 1:30 PM, Christoph Hellwig wrote: >> - if (HPAGE_SHIFT > PAGE_SHIFT) >> + if ((HPAGE_SHIFT > PAGE_SHIFT) && (HUGETLB_PAGE_ORDER < MAX_ORDER)) > > No need for the braces. Will drop them.
On 2/11/21 1:30 PM, Christoph Hellwig wrote: >> - if (HPAGE_SHIFT > PAGE_SHIFT) >> + if ((HPAGE_SHIFT > PAGE_SHIFT) && (HUGETLB_PAGE_ORDER < MAX_ORDER)) > > No need for the braces. Will drop them.