[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOf5uwk=Tx+W-JuJBXUYjt2BLmSvr9Q153D1RTyJG_cmeO4AUw@mail.gmail.com>
Date: Thu, 15 Sep 2022 23:36:12 +0200
From: Michael Nazzareno Trimarchi <michael@...rulasolutions.com>
To: Mike Rapoport <rppt@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
David Hildenbrand <david@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Correlation CMA size and FORCE_MAX_ZONEORDER
Hi all
Working on a small device with 128MB of memory and using imx_v6_v7
defconfig I found that CMA_SIZE_MBYTES, CMA_SIZE_PERCENTAGE
are not respected. The calculation done does not allow the requested
size. I think that this should be somehow documented and described but
I did not
find the documentation. Does it work this way?
With CMA_SIZE of 8MB I need to have FORCE_MAX_ZONEORDER=12 if I have
the default FORCE_MAX_ZONEORDER=14 the min size is 32Mb
Michael
Powered by blists - more mailing lists