kobject release debugging

configname: CONFIG_DEBUG_KOBJECT_RELEASE

Linux Kernel Configuration
└─>Kernel hacking
└─>kobject release debugging
In linux kernel since version 3.10 (release Date: 2013-06-30)  
kobjects are reference counted objects. This means that their
last reference count put is not predictable, and the kobject can
live on past the point at which a driver decides to drop it's
initial reference to the kobject gained on allocation. An
example of this would be a struct device which has just been
unregistered.

However, some buggy drivers assume that after such an operation,
the memory backing the kobject can be immediately freed. This
goes completely against the principles of a refcounted object.

If you say Y here, the kernel will delay the release of kobjects
on the last reference count to improve the visibility of this
kind of kobject release bug.