[PATCHv2 0/3] Catching del_timer_sync() on uninitialized timers

From: Stephen Boyd
Date: Mon Nov 07 2011 - 22:49:01 EST


These are an update for previous patches sent by Christine. I've
reworked them to hopefully address Thomas' comments. The new
patch is the first patch, which tries to actually use debugobjects
code to print the warning instead of relying on users of the API
to do so (as suggested by Thomas).

Christine Chan (2):
debugobjects: Extend to assert that an object is initialized
kernel/timer.c: Use debugobjects to catch deletion of uninitialized
timers

Stephen Boyd (1):
debugobjects: Be smarter about static objects

Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: John Stultz <john.stultz@xxxxxxxxxx>
Cc: Christine Chan <cschan@xxxxxxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Documentation/DocBook/debugobjects.tmpl | 50 +++++++++++++++++++++++++
include/linux/debugobjects.h | 6 +++
kernel/timer.c | 62 ++++++++++++++++++++++++++++---
lib/debugobjects.c | 53 ++++++++++++++++++++++++--
4 files changed, 161 insertions(+), 10 deletions(-)

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/