lkml.org 
[lkml]   [2012]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] percpu: Fix rollback in pcpu_embed_first_chunk()
Hello,

On Wed, May 09, 2012 at 02:39:48PM +0200, Michael Holzheu wrote:
> From: Michael Holzheu <holzheu@linux.vnet.ibm.com>
> Subject: percpu: Fix rollback in pcpu_embed_first_chunk()
>
> The "out_free_areas" rollback in pcpu_embed_first_chunk calls the
> free_fn() function for all elements in area[]. This is not correct
> because not all elements have been allocated.
>
> To fix this we call free_fn() only for allocated elements.

There's already a pending fix which fixes this and another more
serious problem, which I forgot to push. I'll push it out today.

http://article.gmane.org/gmane.linux.kernel/1288808

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-05-09 19:41    [from the cache]
©2003-2011 Jasper Spaans