Re: Hung task when calling clone() due to netfilter/slab

From: Eric Dumazet
Date: Sat Jan 14 2012 - 12:19:05 EST


Le samedi 14 janvier 2012 Ã 18:10 +0100, Eric Dumazet a Ãcrit :

> Apparently SLUB calls sysfs_slab_add() from kmem_cache_create() while
> still holding slub_lock.
>
> So if the task launched needs to "cat /proc/slabinfo" or anything
> needing slub_lock, its a deadlock.
>
>

Bug added in commit 2bce64858442149784f6c88
(slub: Allow removal of slab caches during boot)



--
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/