Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/page_alloc: use str_off_on() helper in build_all_zonelists()

Remove hard-coded strings by using the str_off_on() helper function.

Link: https://lkml.kernel.org/r/20241021091340.5243-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Thorsten Blum and committed by
Andrew Morton
ab505e8b 8717734f

+1 -1
+1 -1
mm/page_alloc.c
··· 5493 5493 5494 5494 pr_info("Built %u zonelists, mobility grouping %s. Total pages: %ld\n", 5495 5495 nr_online_nodes, 5496 - page_group_by_mobility_disabled ? "off" : "on", 5496 + str_off_on(page_group_by_mobility_disabled), 5497 5497 vm_total_pages); 5498 5498 #ifdef CONFIG_NUMA 5499 5499 pr_info("Policy zone: %s\n", zone_names[policy_zone]);