From: Andi Kleen <ak@xxxxxxxxxxxxxxx> When the "default y" CONFIG_NUMA_BALANCING_DEFAULT_ENABLED is enabled, the message it prints refers to a sysctl to disable it again. But that sysctl doesn't exist. Document the correct (highly obscure method) through debugfs. This should be also in Documentation/* but isn't. Also fix the checkpatch problems. BTW I think the "default y" is highly dubious for such a experimential feature. Cc: mgorman@xxxxxxx Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx> --- mm/mempolicy.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 7431001..8a4dc29 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -2530,8 +2530,8 @@ static void __init check_numabalancing_enable(void) numabalancing_default = true; if (nr_node_ids > 1 && !numabalancing_override) { - printk(KERN_INFO "Enabling automatic NUMA balancing. " - "Configure with numa_balancing= or sysctl"); + pr_info("Enabling automatic NUMA balancing.\n"); + pr_info("Change with numa_balancing= or echo -NUMA >/sys/kernel/debug/sched_features\n"); set_numabalancing_state(numabalancing_default); } } -- 1.7.7.6 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>