commit | 89fa30242facca249aead2aac03c4c69764f911c | [log] [tgz] |
---|---|---|
author | Christoph Lameter <clameter@sgi.com> | Mon Sep 25 23:31:55 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Sep 26 08:48:52 2006 -0700 |
tree | 1ac46b4777b819f2a4793d8e37330576ae5089ec | |
parent | 4415cc8df630b05d3a54267d5f3e5c0b63a4ec05 [diff] |
[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 <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>