From: Christoph Lameter Date: Tue, 26 Sep 2006 06:31:55 +0000 (-0700) Subject: [PATCH] NUMA: Add zone_to_nid function X-Git-Tag: v2.6.19-rc1~1158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89fa30242facca249aead2aac03c4c69764f911c;p=pandora-kernel.git [PATCH] NUMA: Add zone_to_nid function There are many places where we need to determine the node of a zone. Currently we use a difficult to read sequence of pointer dereferencing. Put that into an inline function and use throughout VM. Maybe we can find a way to optimize the lookup in the future. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed