lkml.org 
[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.6.17-rt1 : fix x86_64 oops
On Wed, Jun 28, 2006 at 09:32:56PM +0200, Ingo Molnar wrote:
>
> * Dipankar Sarma <dipankar@in.ibm.com> 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

Yes, otherwise it would have been hell to do __put_task_struct()
with preemption disabled.

> put_task_struct(). [neither would it be right to flush kprobes there.]
> I've released -rt4 with this included.

OK, I need to catch up, but I see a lot of oops while running rcutorture
in my box (rt1). I am investigating this atm.

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

\
 
 \ /
  Last update: 2006-06-28 22:08    [W:0.103 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site