This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/include/linux
Mel Gorman 6484eb3e2a page allocator: do not check NUMA node ID when the caller knows the node is valid
Callers of alloc_pages_node() can optionally specify -1 as a node to mean
"allocate from the current node".  However, a number of the callers in
fast paths know for a fact their node is valid.  To avoid a comparison and
branch, this patch adds alloc_pages_exact_node() that only checks the nid
with VM_BUG_ON().  Callers that know their node is valid are then
converted.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Paul Mundt <lethal@linux-sh.org>	[for the SLOB NUMA bits]
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 19:47:32 -07:00
..
2009-06-11 21:36:00 -04:00
2008-12-03 22:12:38 -08:00
2009-06-11 21:36:09 -04:00
2009-06-11 08:50:57 -07:00
2009-06-11 21:36:06 -04:00
2007-02-09 17:39:36 -05:00
2008-01-28 23:21:18 +01:00
2009-06-16 19:47:28 -07:00
2009-06-16 19:47:28 -07:00
2009-06-14 22:10:41 +02:00
2009-06-11 17:03:28 +01:00
2009-06-10 11:48:39 +03:00
2009-04-28 07:37:28 +02:00
2009-06-11 19:05:32 +02:00
2005-04-16 15:20:36 -07:00
2009-06-11 21:36:02 -04:00
2006-11-30 04:40:22 +01:00
2009-06-11 21:36:01 -04:00
2005-04-16 15:20:36 -07:00
2006-10-03 23:01:26 +02:00
2009-06-11 21:36:12 -04:00
2009-06-11 08:50:58 -07:00
2009-02-18 15:37:53 -08:00
2009-06-11 08:50:59 -07:00
2009-06-11 08:51:01 -07:00