Better sysfs lockdep
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sysfs: Remove sysfs_get/put_active_twofs/ fs/ fs/ +1 more | +38 | 1 reply | |
| 1/4 | sysfs: Remove sysfs_get/put_active_twofs/ fs/ fs/ +1 more | +38 | 0 replies | |
| 2/4 | sysfs: Only take active references on attributes.fs/ fs/ fs/ | +6 | 4 replies | |
| 3/4 | sysfs: Use one lockdep class per sysfs attribute.fs/ include/ | +23 | 1 reply | |
| 4/4 | sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on dynamic attributesarch/ drivers/ drivers/ +1 more | +9 | 5 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | WANG Cong |
|---|---|
| 1/4 | A-b |
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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