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

From: Christoph Lameter
Date: Thu Jan 19 2012 - 21:04:01 EST


On Thu, 19 Jan 2012, Eric W. Biederman wrote:

> Oh. I see. The problem is calling kobject_uevent (which happens to
> live in slabs sysfs_slab_add) with a lock held. And kobject_uevent
> makes a blocking call to userspace.
>
> No locks held seems to be a good policy on that one.

Well we can just remove that call to kobject_uevent instead then. Does it
do anything useful? Cannot remember why we put that in there.

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