]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit950fc1646a82f46fcb0719417b4c7ace2530a3c2
tree4f488ba29b5bf860576a3a2e405607a9c32048bf
parent14484af5ca1edcf999db96468f76c7a4cff620ca
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