Messages in this thread |  | | | Date | Wed, 9 May 2012 10:06:03 -0700 | | From | Tejun Heo <> | | 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@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
|  |