From: Tejun Heo Date: Wed, 16 Feb 2011 16:11:08 +0000 (+0100) Subject: x86-64, NUMA: Remove %NULL @nodeids handling from compute_hash_shift() X-Git-Tag: v2.6.39-rc1~499^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8968dab8ad90ea16ef92f2406868354ea3ab6bb9;p=pandora-kernel.git x86-64, NUMA: Remove %NULL @nodeids handling from compute_hash_shift() numa_emulation() called compute_hash_shift() with %NULL @nodeids which meant identity mapping between index and nodeid. Make numa_emulation() build identity array and drop %NULL @nodeids handling from populate_memnodemap() and thus from compute_hash_shift(). This is to prepare for transition to using memblks instead. Signed-off-by: Tejun Heo Cc: Yinghai Lu Cc: Brian Gerst Cc: Cyrill Gorcunov Cc: Shaohui Zheng Cc: David Rientjes Cc: Ingo Molnar Cc: H. Peter Anvin --- Reading git-diff-tree failed