Re: [PATCH] RT: Fix special-case exception for preempting the local CPU

2007-10-11 Thread Ankita Garg
On Wed, Oct 10, 2007 at 09:22:48AM -0700, mike kravetz wrote: > On Wed, Oct 10, 2007 at 10:49:35AM -0400, Gregory Haskins wrote: > > diff --git a/kernel/sched.c b/kernel/sched.c > > index 3e75c62..b7f7a96 100644 > > --- a/kernel/sched.c > > +++ b/kernel/sched.c > > @@ -1869,7 +1869,8 @@ out_activat

Re: [PATCH] RT: Fix special-case exception for preempting the local CPU

2007-10-10 Thread mike kravetz
On Wed, Oct 10, 2007 at 10:49:35AM -0400, Gregory Haskins wrote: > diff --git a/kernel/sched.c b/kernel/sched.c > index 3e75c62..b7f7a96 100644 > --- a/kernel/sched.c > +++ b/kernel/sched.c > @@ -1869,7 +1869,8 @@ out_activate: >* extra locking in this particular case, because >

[PATCH] RT: Fix special-case exception for preempting the local CPU

2007-10-10 Thread Gregory Haskins
Applies to 2.6.23-rc9-rt2... This is another RTO related fix from the thread two days ago. --- RT: Fix special-case exception for preempting the local CPU Check whether the local CPU is eligible to take the task before trying to preempt it. Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> ---