Re: [PATCH 20/35] Use a pre-calculated value for num_online_nodes()

From: Mel Gorman
Date: Wed Mar 18 2009 - 14:02:14 EST


On Wed, Mar 18, 2009 at 12:58:02PM -0400, Christoph Lameter wrote:
> On Wed, 18 Mar 2009, Mel Gorman wrote:
>
> > Naming has never been great, but in this case the static value is a
> > direct replacement of num_online_nodes(). I think having a
> > similarly-named-but-still-different name obscures more than it helps.
>
> Creates a weird new name. Please use nr_online_nodes. Its useful elsewhere
> too.
>

Ok, I'm dropping this patch for the first pass altogether and will deal
with it later.

--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
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/