Re: [PATCH] kmalloc_percpu

David S. Miller (davem@redhat.com)
Mon, 05 May 2003 23:15:53 -0700 (PDT)


From: Andrew Morton <akpm@digeo.com>
Date: Tue, 6 May 2003 00:22:29 -0700

"David S. Miller" <davem@redhat.com> wrote:
>
> Make kmalloc_per_cpu() merely a convenience macro, made up of existing
> non-percpu primitives.

I think we're agreeing here.

As just pointed out by dipankar the only issue is NUMA...
so it has to be something more sophisticated than simply
kmalloc()[smp_processor_id];
-
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/