[RT PATCH v2 0/2] Series short description

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gregory Haskins
Date: Friday, October 3, 2008 - 10:26 am

Gilles Carry wrote:


Indeed.  Your report has revealed the problem to me.

The issue is that there are three conditions embedded in that if(!lower_rq)
code, but two are buried in the !retry case.  This was the mistake I was making.

We basically need to 

a) dequeue if the task hasnt moved
b) retry if the task *has* moved AND there are more tasks left
c) stop of the task *has* moved AND there are no more tasks

I was missing logic to handle (c).  "v2" should fix this so it is handled.
Please give it a try.  Thanks again, Gilles!

(Again, only build-tested)

Regards,
-Greg


---

Gregory Haskins (2):
      RT: remove "paranoid" limit in push_rt_task
      RT: Remove comment that is no longer true


 kernel/sched_rt.c |   44 ++++++++++++++++++++++----------------------
 1 files changed, 22 insertions(+), 22 deletions(-)

-- 
Signature
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Chirag Jog, (Thu Sep 25, 5:32 am)
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Gregory Haskins, (Mon Sep 29, 11:13 am)
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Gregory Haskins, (Mon Sep 29, 2:18 pm)
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Gregory Haskins, (Mon Sep 29, 2:34 pm)
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Gregory Haskins, (Mon Sep 29, 3:00 pm)
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Chirag Jog, (Mon Sep 29, 9:43 pm)
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Gilles Carry, (Mon Sep 29, 11:47 pm)
[PATCH] sched: add a stacktrace on enqueue_pushable error, Gregory Haskins, (Wed Oct 1, 7:22 am)
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang, Gilles Carry, (Thu Oct 2, 4:18 am)
[RT PATCH 0/2] fix for BUG_ON crash in 26.5-rt9 , Gregory Haskins, (Fri Oct 3, 5:42 am)
[PATCH 1/2] RT: Remove comment that is no longer true, Gregory Haskins, (Fri Oct 3, 5:43 am)
Re: [RT PATCH 0/2] fix for BUG_ON crash in 26.5-rt9, Gregory Haskins, (Fri Oct 3, 5:54 am)
[RT PATCH v2 0/2] Series short description, Gregory Haskins, (Fri Oct 3, 10:26 am)
[RT PATCH v2 1/2] RT: Remove comment that is no longer true, Gregory Haskins, (Fri Oct 3, 10:26 am)