mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Correlation CMA size and FORCE_MAX_ZONEORDER
@ 2022-09-15 21:36 Michael Nazzareno Trimarchi
  2022-09-19  8:38 ` David Hildenbrand
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Nazzareno Trimarchi @ 2022-09-15 21:36 UTC (permalink / raw)
  To: Mike Rapoport, LKML, David Hildenbrand, Andrew Morton

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-09-19 12:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 21:36 Correlation CMA size and FORCE_MAX_ZONEORDER Michael Nazzareno Trimarchi
2022-09-19  8:38 ` David Hildenbrand
2022-09-19  9:17   ` Michael Nazzareno Trimarchi
2022-09-19  9:31     ` David Hildenbrand
2022-09-19  9:57       ` Michael Nazzareno Trimarchi
2022-09-19 11:03         ` David Hildenbrand
2022-09-19 11:17           ` Michael Nazzareno Trimarchi
2022-09-19 11:28             ` David Hildenbrand
2022-09-19 11:59               ` Michael Nazzareno Trimarchi
2022-09-19 12:08                 ` David Hildenbrand
2022-09-19 12:11                   ` Michael Nazzareno Trimarchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®