Re: [PATCH] PERCPU : __percpu_alloc_mask() can dynamically sizepercpu_data storage

From: Christoph Lameter
Date: Fri Nov 16 2007 - 17:25:37 EST


On Fri, 16 Nov 2007, Eric Dumazet wrote:

> Instead of allocating a fix sized array of NR_CPUS pointers for percpu_data,
> we can use nr_cpu_ids, which is generally < NR_CPUS.

Yes we can. Could you either use [] or [0] instead of the index there?
Somehow the patch vanished when I replied to it.
-
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/