[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120509170603.GA24636@google.com>
Date: Wed, 9 May 2012 10:06:03 -0700
From: Tejun Heo <tj@...nel.org>
To: Michael Holzheu <holzheu@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [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@...ux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists