On Mon, Jan 26, 2015 at 08:03:50PM -0500, Steven Rostedt wrote: > On Mon, 26 Jan 2015 20:02:18 -0500 > Steven Rostedt <[email protected]> wrote: > > > > Now you see why I found just dropping the parent mutex easier. > > And this is probably why kernfs does things the way it does. I can > imagine it having the same locking issues.
The least said about kernfs locking, the better... As for the use of trace_types_lock to serialize rmdir vs. event addition/removal, I wonder what's wrong with actually using the ->i_mutex of /instances - you have a reference to its dentry, after all... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

