[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210211080056.GA14448@lst.de>
Date: Thu, 11 Feb 2021 09:00:56 +0100
From: Christoph Hellwig <hch@....de>
To: Anshuman Khandual <anshuman.khandual@....com>
Cc: linux-mm@...ck.org, linux-arm-kernel@...ts.infradead.org,
catalin.marinas@....com, akpm@...ux-foundation.org,
will@...nel.org, Robin Murphy <robin.murphy@....com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Christoph Hellwig <hch@....de>,
David Hildenbrand <david@...hat.com>,
Mark Rutland <mark.rutland@....com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] mm/page_alloc: Fix pageblock_order when
HUGETLB_PAGE_ORDER >= MAX_ORDER
> - if (HPAGE_SHIFT > PAGE_SHIFT)
> + if ((HPAGE_SHIFT > PAGE_SHIFT) && (HUGETLB_PAGE_ORDER < MAX_ORDER))
No need for the braces.
Powered by blists - more mailing lists