Skip to content
Commit ecb256f8 authored by Volodymyr G. Lukiianyk's avatar Volodymyr G. Lukiianyk Committed by Linus Torvalds
Browse files

mm: set correct numa_zonelist_order string when configured on the kernel command line



When numa_zonelist_order parameter is set to "node" or "zone" on the
command line it's still showing as "default" in sysctl.  That's because
early_param parsing function changes only user_zonelist_order variable.
Fix this by copying user-provided string to numa_zonelist_order if it was
successfully parsed.

Signed-off-by: default avatarVolodymyr G Lukiianyk <volodymyrgl@gmail.com>
Acked-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent dc83edd9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment