[lkml]   [2009]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 03/25] 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 <>
> Reviewed-by: Christoph Lameter <>

I think there still are convertable caller. (recently, caller increased a bit)
but it isn't important. anyway,

Reviewed-by: KOSAKI Motohiro <>

 \ /
  Last update: 2009-04-21 04:47    [W:0.394 / U:18.456 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site