From: Eric W. Biederman on 11 Feb 2010 18:20 It turns out that it is pretty simple to rework the lockdep support to give each sysfs attribute it's own lockdep class, which should kill the annoying false positives we have been seeing lately. The one caveat is that it requires dynamically allocated sysfs attributes to be explicitly initialized. Luckily it is brainless trivial whack-a-mole and took maybe 15 minutes to find all of the dynamically allocates sysfs attributes on my test machine, because the errors show up when the attributes are registered with sysfs, and all of the fixes are one-liners. Hopefully with this we can head back to fixing the real issues. Eric -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [PATCH 3/3] mm: Debugging of new livelock avoidance Next: Better sysfs lockdep |