Messages in this thread | | | Date | Thu, 26 Feb 2009 04:26:18 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH core/percpu] percpu: fix too low alignment restriction on UP |
| |
* Tejun Heo <tj@kernel.org> wrote:
> UP __alloc_percpu() triggered WARN_ON_ONCE() if the requested > alignment is larger than that of unsigned long long, which is too > small for all the cacheline aligned allocations. Bump it up to > SMP_CACHE_BYTES which kmalloc allocations generally guarantee. > > Signed-off-by: Tejun Heo <tj@kernel.org> > Reported-by: Ingo Molnar <mingo@elte.hu> > --- > Hello, Ingo. > > I somehow completely forgot about testing UP. Sorry about that. :-) > The following patch should do it. Also available in the #tj-percpu > tree.
Pulled into tip:core/percpu, thanks Tejun!
Ingo
| |