]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Remove old node based policy interface from mempolicy.c
authorChristoph Lameter <clameter@engr.sgi.com>
Fri, 6 Jan 2006 08:10:47 +0000 (00:10 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:23 +0000 (08:33 -0800)
commit21abb1478a87e26f5fa71dbcb7cf4264272c2248
tree01e9a76ec55975b509aa721ad7d9e9cce89d9c82
parent5da7ca86078964cbfe6c83efc1205904587706fe
[PATCH] Remove old node based policy interface from mempolicy.c

mempolicy.c contains provisional interface for huge page allocation based on
node numbers.  This is in use in SLES9 but was never used (AFAIK) in upstream
versions of Linux.

Huge page allocations now use zonelists to figure out where to allocate pages.
 The use of zonelists allows us to find the closest hugepage which was the
consideration of the NUMA distance for huge page allocations.

Remove the obsolete functions.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@muc.de>
Acked-by: William Lee Irwin III <wli@holomorphy.com>
Cc: Adam Litke <agl@us.ibm.com>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mempolicy.h
mm/mempolicy.c