-
- Downloads
[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>
Showing
- arch/i386/mm/discontig.c 1 addition, 1 deletionarch/i386/mm/discontig.c
- arch/parisc/mm/init.c 1 addition, 1 deletionarch/parisc/mm/init.c
- include/linux/mm.h 6 additions, 1 deletioninclude/linux/mm.h
- kernel/cpuset.c 2 additions, 2 deletionskernel/cpuset.c
- mm/hugetlb.c 1 addition, 1 deletionmm/hugetlb.c
- mm/mempolicy.c 3 additions, 3 deletionsmm/mempolicy.c
- mm/oom_kill.c 1 addition, 2 deletionsmm/oom_kill.c
- mm/page_alloc.c 1 addition, 1 deletionmm/page_alloc.c
- mm/vmscan.c 1 addition, 1 deletionmm/vmscan.c
Loading
Please register or sign in to comment