kernel_optimize_test/drivers/misc
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
..
c2port misc: C2port needs <linux/sched.h> 2008-11-15 11:36:06 -08:00
cb710 cb710: more cleanup for the DEBUG case. 2009-06-13 22:42:59 +02:00
eeprom at25: make input buffers of at25_*write() const 2009-04-13 15:04:32 -07:00
hdpuftrs
ibmasm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-01-07 11:31:52 -08:00
sgi-gru page allocator: do not check NUMA node ID when the caller knows the node is valid 2009-06-16 19:47:32 -07:00
sgi-xp page allocator: do not check NUMA node ID when the caller knows the node is valid 2009-06-16 19:47:32 -07:00
atmel_pwm.c
atmel_tclib.c
atmel-ssc.c atmel-ssc: fix misuse of dev_dbg when requested ssc instance is not found 2009-02-05 12:56:48 -08:00
enclosure.c [SCSI] ses: fix problems caused by empty SES provided name 2009-05-15 12:20:57 -04:00
hpilo.c hpilo: reduce frequency of IO operations 2009-04-01 08:59:18 -07:00
hpilo.h hpilo: reduce frequency of IO operations 2009-04-01 08:59:18 -07:00
ics932s401.c
ioc4.c ioc4: automatically load sgiioc4 subordinate module 2009-01-06 15:59:13 -08:00
isl29003.c isl29003: fix resume functionality 2009-05-06 16:36:10 -07:00
Kconfig mmc: Driver for CB710/720 memory card reader (MMC part) 2009-06-13 22:42:58 +02:00
kgdbts.c
lkdtm.c
Makefile mmc: Driver for CB710/720 memory card reader (MMC part) 2009-06-13 22:42:58 +02:00
phantom.c trivial: fix an -> a typos in documentation and comments 2009-01-06 11:28:07 +01:00
tifm_7xx1.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
tifm_core.c tifm: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:35 -08:00