diff options
author | 2006-09-25 23:31:55 -0700 | |
---|---|---|
committer | 2006-09-26 08:48:52 -0700 | |
commit | 89fa30242facca249aead2aac03c4c69764f911c (patch) | |
tree | 1ac46b4777b819f2a4793d8e37330576ae5089ec /kernel/audit.c | |
parent | [PATCH] Hugepages: Use page_to_nid rather than traversing zone pointers (diff) | |
download | linux-rng-89fa30242facca249aead2aac03c4c69764f911c.tar.xz linux-rng-89fa30242facca249aead2aac03c4c69764f911c.zip |
[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>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions