Skip to content

kref debugging (retry)

Akinobu Mita lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kref: detect kref_put() with unreferenced objectlib/kref.c+8 -62 replies
2/2kref: kref debugging config optionlib/Kconfig.debug lib/kref.c+32 -51 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/2] kref debugging (retry)

This patch series enable to detect kref_put() with unreferenced object, and split all kref debugging checks into new config debug option.

I can find many places where I can replace refcounter with kref by doing "grep -r atomic_dec_and_test linux/".

If we have this detection of kref_put() with unreferenced object, The work of kref convertions would be more than code cleanup and consolidation.
--