Re: [patch, validator] fix proc_subdir_lock related deadlock
From: Steven Rostedt
Date: Wed Jan 25 2006 - 12:14:04 EST
On Wed, 2006-01-25 at 18:03 +0100, Ingo Molnar wrote:
> proc_subdir_lock can also be used from softirq (tasklet) context, which
> may lead to deadlocks.
>
> This bug was found via the lock validator:
>
Thanks Ingo,
I stressed in sending the patch that there was a big assumption that the
calls would not be done in (soft)irq context. I just didn't want to add
overhead if it wasn't needed. But I guess that this is needed until we
can remove all the instances that use it in softirq context. But that's
for a later patch.
Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
-- Steve
-
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/