ref_tracker

From: Adrian Johnston
Date: Fri Apr 04 2025 - 18:16:22 EST


Hello all,

The kernel comes with a reference count debugger called ref_tracker.

And yet, every minor release of the kernel seems to fix another
reference counting bug that has already been shipped. Often minor
kernel releases fix 2 or more. I asked on linux-debuggers and was
told they aren't sure anyone is using this reference counting debugger
that often. Although I am told it is useful.

Can I recommend switching on this debugger on your staging machines?
This class of failure seems like the kind of thing anyone with
continuous integration should know about 20 minutes after merging a
patch.

Regards,
Adrian