mm: set correct numa_zonelist_order string when configured on the kernel command...
authorVolodymyr G. Lukiianyk <volodymyrgl@gmail.com>
Thu, 13 Jan 2011 23:46:26 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:37 +0000 (17:32 -0800)
commitecb256f815232b35ae8382cff36ca8ce0bbd077e
tree4f488ba29b5bf860576a3a2e405607a9c32048bf
parentdc83edd941f412e938841b4989be24aa288a1aa6
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: Volodymyr G Lukiianyk <volodymyrgl@gmail.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c