Re: [PATCH 3.14-rt] sched/numa: Fix task_numa_free() lockdep splat

From: Steven Rostedt
Date: Tue May 27 2014 - 14:54:00 EST


On Tue, 27 May 2014 14:52:01 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:


> Ah crap. I did a search on all the callers of put_task_struct(), and
> somehow missed this one. Yep, I was looking for places that called
> this while holding other irq safe locks.
>

Anyway, this nicely answers Mike's question to why it causes lockdep
splat. There exists a location that calls put_task_struct() with irqs
disabled (not to mention holding irq unsafe locks).

I was having problems just finding a place that called it with irqs off.

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