]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: add alloc_pages_exact_nid()
authorAndi Kleen <ak@linux.intel.com>
Wed, 11 May 2011 22:13:34 +0000 (15:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 May 2011 01:50:45 +0000 (18:50 -0700)
commitee85c2e1454603ebb9f8d87223ac79dcdc87fa32
tree1e5f85fcd35083116e6bc88f6e995b4351e987f1
parent71a6d0af5b031d27029fda64fbab9b9d953d2b33
mm: add alloc_pages_exact_nid()

Add a alloc_pages_exact_nid() that allocates on a specific node.

The naming is quite broken, but fixing that would need a larger renaming
action.

[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: tweak comment]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: David Rientjes <rientjes@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h
mm/page_alloc.c