Messages in this thread | | | Date | Fri, 16 Nov 2007 14:25:26 -0800 (PST) | From | Christoph Lameter <> | Subject | Re: [PATCH] PERCPU : __percpu_alloc_mask() can dynamically size percpu_data storage |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |