Re: [PATCH v2] timer: implement lockdep deadlock detection

From: Ingo Molnar
Date: Tue Jan 27 2009 - 08:28:22 EST



* Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:

> This modifies the timer code in a way to allow lockdep to detect
> deadlocks resulting from a lock being taken in the timer function as
> well as around the del_timer_sync() call.
>
> Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> ---
> include/linux/timer.h | 97 ++++++++++++++++++++++++++++++++++++++++++--------
> kernel/timer.c | 57 +++++++++++++++++++++++------
> 2 files changed, 127 insertions(+), 27 deletions(-)

applied to tip/core/locking, thanks Johannes!

Ingo
--
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/