]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm/numa: Improve alloc_node_data() error path message
authorWei Yang <richard.weiyang@gmail.com>
Tue, 14 Mar 2017 03:08:00 +0000 (11:08 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Apr 2017 09:54:37 +0000 (11:54 +0200)
commit40b59cd49a38392f4acd56aafb163d77b41be96d
treec87abdd7785fb75f0ad17cf21ccd238be701a095
parent06e430fd51def90022c1e5085ae3df71aecff458
x86/mm/numa: Improve alloc_node_data() error path message

alloc_node_data() tries to allocate from the local node first and, if
that attempt fails, falls back to any node. Improve the error message to
issue the initial node for ease during debugging.

Fix a typo in the comments, while at it.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Link: http://lkml.kernel.org/r/20170314030801.13656-1-richard.weiyang@gmail.com
[ Masssage commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/numa.c