Re: [PATCH for 3.9] memcg: initialize kmem-cache destroying workearlier

From: Glauber Costa
Date: Thu Mar 07 2013 - 03:21:53 EST


On 03/07/2013 11:48 AM, Konstantin Khlebnikov wrote:
> This patch fixes warning from lockdep caused by calling cancel_work_sync()
> for uninitialized struct work. This path has been triggered by destructon
> kmem-cache hierarchy via destroying its root kmem-cache.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx>
> Cc: Glauber Costa <glommer@xxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>
I see no reason not to do the work initialization earlier, so
ACK
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/