Messages in this thread | | | Date | Wed, 21 Mar 2007 15:02:25 +0200 | From | "Pekka Enberg" <> | Subject | Re: [PATCH] SLAB : Use num_possible_cpus() in enable_cpucache() |
| |
On 3/21/07, Eric Dumazet <dada1@cosmosbay.com> wrote: > As most shiped linux kernels are now compiled with CONFIG_SMP, there is no way > a preprocessor #if can detect if the machine is UP or SMP. Better to use > num_possible_cpus().
Looks good to me.
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |