On Tue, Apr 15, 2025 at 10:20 AM Juan Yescas jyescas@google.com wrote:
This change sets the allocation orders for the different page sizes (4k, 16k, 64k) based on PAGE_SHIFT. Before this change, the orders for large page sizes were calculated incorrectly, this caused system heap to allocate from 2% to 4% more memory on 16KiB page size kernels.
This change was tested on 4k/16k page size kernels.
Signed-off-by: Juan Yescas jyescas@google.com
Seems reasonable to me. Acked-by: John Stultz jstultz@google.com
thanks -john
linaro-mm-sig@lists.linaro.org