lkml.org 
[lkml]   [2011]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH next/mmotm] slub: partly fix freeze in __slab_free
On Mon, 11 Jul 2011, Eric Dumazet wrote:
> Le lundi 11 juillet 2011 à 11:58 -0700, Hugh Dickins a écrit :
> > My load tests on PowerPC freeze within minutes in __slab_free().
> > I happened to try PPC first, didn't try without this fix on x86.
>
> I suspect you hit the bug on 32bit arch ?

No, it was ppc64. I've not actually tried that load on mmotm 32bit
at all yet, better do so tonight!

Hugh

>
> diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
> index 3d76a43..1351d28 100644
> --- a/include/linux/mm_types.h
> +++ b/include/linux/mm_types.h
> @@ -62,7 +62,7 @@ struct page {
> struct { /* SLUB cmpxchg_double area */
> void *freelist;
> union {
> - unsigned long counters;
> + u64 counters;
> struct {
> unsigned inuse:16;
> unsigned objects:15;
\
 
 \ /
  Last update: 2011-07-11 22:49    [W:0.152 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site