[Top] [All Lists]

Re: preempt_schedule_irq missing from mfinfo[]?

Subject: Re: preempt_schedule_irq missing from mfinfo[]?
From: Atsushi Nemoto <>
Date: Sun, 03 Jul 2005 00:59:21 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
>>>>> On Fri, 1 Jul 2005 09:54:49 -0400, Dave Johnson 
>>>>> <> said:

dave> That'll do it.  My patch wasn't enough.  I added some sanity
dave> checks to get_wchan and it hit one while running overnight.

dave> The task being examined transitioned from !TASK_RUNNING to
dave> TASK_RUNNING while it was being examined. Doh!

dave> Definately not SMP/preempt safe as written today.

Perhaps you can make it SMP/preempt safe by doing stack_page test in
the unwinding loop as done on i386, etc.

But anyway I think just calling thread_saved_pc is enough.

Ralf, how do you think about this?

Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>