Le 06/12/2021 à 09:47, Maxime Bizon a écrit : > > On Mon, 2021-12-06 at 07:03 +0000, Christophe Leroy wrote: > >> Is it worth it ? I have the feeling that's more a corner case. > > probably not since it's not an easy fix > > I'm running on the edge wrt BAT usage on my 2GB board, it's not that > common I guess. >
Looks like you can win something if you take the patch I just sent and replace the memblock_phys_alloc(k_size, k_size) by memblock_phys_alloc_range(k_size, k_size, 0, MEMBLOCK_ALLOC_ANYWHERE)