lkml.org 
[lkml]   [2009]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-02-26 04:29    [W:0.950 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site