Skip to content
Commit 44b57280 authored by Yinghai Lu's avatar Yinghai Lu Committed by Linus Torvalds
Browse files

x86: don't clear nodes_states[N_NORMAL_MEMORY] when numa is not compiled in



Alex found that specjbb2005 still can not run with hugepages on an
x86-64 machine.  This only happens when numa is not compiled in.

The root cause: node_set_state will not set it back for us in that case,
so don't clear that when numa is not select in config

[ v2: use node_clear_state instead ]
Reported-and-Tested-by: default avatarAlex Shi <alex.shi@intel.com>
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Reviewed-by: default avatarChristoph Lameter <cl@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ad361c98
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