[lkml]   [2009]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 22/22] slab: Use nr_online_nodes to check for a NUMA platform
On Wed, Apr 22, 2009 at 4:53 PM, Mel Gorman <> wrote:
> SLAB currently avoids checking a bitmap repeatedly by checking once and
> storing a flag. When the addition of nr_online_nodes as a cheaper version
> of num_online_nodes(), this check can be replaced by nr_online_nodes.
> (Christoph did a patch that this is lifted almost verbatim from, hence the
> first Signed-off-by. Christoph, can you confirm you're ok with that?)
> Signed-off-by: Christoph Lameter <>
> Signed-off-by: Mel Gorman <>

Reviewed-by: Pekka Enberg <>

 \ /
  Last update: 2009-04-22 16:41    [W:0.294 / U:1.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site