Re: [PATCH] proc: fix inconsistent lock state

From: Al Viro
Date: Wed Dec 19 2012 - 11:44:20 EST


On Wed, Dec 19, 2012 at 04:13:30AM -0800, Eric W. Biederman wrote:

> Something doesn't feel right. I don't think there should be a path where we get to proc_free_inum from bh context.
>
> Rcu callbacks should be running in process context (if a special one).

No, they are not. They run from softirq context, which makes for all kinds
of interesting kludges being required in various places.
--
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/