Commit 2a999aa0 authored by Linus Torvalds's avatar Linus Torvalds

Kconfig: make KOBJECT_RELEASE debugging require timer debugging

Without the timer debugging, the delayed kobject release will just
result in undebuggable oopses if it triggers any latent bugs.  That
doesn't actually help debugging at all.

So make DEBUG_KOBJECT_RELEASE depend on DEBUG_OBJECTS_TIMERS to avoid
having people enable one without the other.
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c9ca72fc
...@@ -983,7 +983,7 @@ config DEBUG_KOBJECT ...@@ -983,7 +983,7 @@ config DEBUG_KOBJECT
config DEBUG_KOBJECT_RELEASE config DEBUG_KOBJECT_RELEASE
bool "kobject release debugging" bool "kobject release debugging"
depends on DEBUG_KERNEL depends on DEBUG_OBJECTS_TIMERS
help help
kobjects are reference counted objects. This means that their kobjects are reference counted objects. This means that their
last reference count put is not predictable, and the kobject can last reference count put is not predictable, and the kobject can
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment