The patch titled Subject: mm: fix SHUFFLE_PAGE_ALLOCATOR help texts has been added to the -mm tree. Its filename is mm-shuffle-initial-free-memory-to-improve-memory-side-cache-utilization-fix-2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-shuffle-initial-free-memory-to-improve-memory-side-cache-utilization-fix-2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-shuffle-initial-free-memory-to-improve-memory-side-cache-utilization-fix-2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Qian Cai <cai@xxxxxx> Subject: mm: fix SHUFFLE_PAGE_ALLOCATOR help texts The help texts for SHUFFLE_PAGE_ALLOCATOR makes a wrong assumption that a page size is 4KB everywhere. Link: http://lkml.kernel.org/r/20190425201300.75650-1-cai@xxxxxx Signed-off-by: Qian Cai <cai@xxxxxx> Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- init/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/init/Kconfig~mm-shuffle-initial-free-memory-to-improve-memory-side-cache-utilization-fix-2 +++ a/init/Kconfig @@ -1764,8 +1764,9 @@ config SHUFFLE_PAGE_ALLOCATOR the presence of a memory-side-cache. There are also incidental security benefits as it reduces the predictability of page allocations to compliment SLAB_FREELIST_RANDOM, but the - default granularity of shuffling on 4MB (MAX_ORDER) pages is - selected based on cache utilization benefits. + default granularity of shuffling on the "MAX_ORDER - 1" i.e, + 10th order of pages is selected based on cache utilization + benefits on x86. While the randomization improves cache utilization it may negatively impact workloads on platforms without a cache. For _ Patches currently in -mm which might be from cai@xxxxxx are slab-fix-an-infinite-loop-in-leaks_show.patch mm-compaction-fix-an-undefined-behaviour.patch initramfs-cleanup-populate_rootfs-fix.patch mm-shuffle-initial-free-memory-to-improve-memory-side-cache-utilization-fix-2.patch