Re: [PATCH] 2.6.17-rt1 : fix x86_64 oops

From: Ingo Molnar
Date: Wed Jun 28 2006 - 15:36:11 EST



* Dipankar Sarma <dipankar@xxxxxxxxxx> wrote:

> Turns out that kprobe_flush_task() is called from finish_task_switch()
> with preemption disabled and it uses a converted spin lock. The
> following patch fixed the problem for me and I was able to boot my
> x86_64 box.

ah, subtle problem and nice fix! We are using an RCU trick to delay task
freeing in finish_task_switch(), but kprobe_flush_task() isnt done in
put_task_struct(). [neither would it be right to flush kprobes there.]
I've released -rt4 with this included.

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/