Skip to content

Better sysfs lockdep

Eric W. Biederman lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Better sysfs lockdep

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