]> git.baikalelectronics.ru Git - kernel.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)
commit87159cc014d980929cbcc5d8e217e217a0beb306
tree01e9a76ec55975b509aa721ad7d9e9cce89d9c82
parent888ec787570407816c0e9ee48e9beba56d940af1
[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