Re: [PATCH 22/22] slab: Use nr_online_nodes to check for a NUMA platform

From: Pekka Enberg
Date: Wed Apr 22 2009 - 10:37:51 EST


On Wed, Apr 22, 2009 at 4:53 PM, Mel Gorman <mel@xxxxxxxxx> 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 <cl@xxxxxxxxx>
> Signed-off-by: Mel Gorman <mel@xxxxxxxxx>

Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/