Re: [PATCH] 2.6.14-rc4: wider use of for_each_*cpu() in net

From: Arnaldo Carvalho de Melo
Date: Fri Oct 28 2005 - 11:02:57 EST


On 10/13/05, hawkes@xxxxxxx <hawkes@xxxxxxx> wrote:
> In 'net' change the explicit use of for-loops and NR_CPUS into the
> general for_each_cpu() or for_each_online_cpu() constructs, as
> appropriate. This widens the scope of potential future optimizations
> of the general constructs, as well as takes advantage of the existing
> optimizations of first_cpu() and next_cpu(), which is advantageous
> when the true CPU count is much smaller than NR_CPUS.
>
> Signed-off-by: John Hawkes <hawkes@xxxxxxx>

Thanks, applied and pushed to Linus,

- Arnaldo
-
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/