Messages in this thread | | | Date | Tue, 2 Nov 2004 13:35:49 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] consolidate task preempts |
| |
* Con Kolivas <kernel@kolivas.org> wrote:
> consolidate task preempts
nack. This change:
- if (TASK_PREEMPTS_CURR(p, rq)) - resched_task(rq->curr); + preempt(p, rq);
hides a real decision made. It might be more acceptable if it was called 'maybe_preempt_curr(p, rq)', but i'm not so sure.
Ingo
- 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/
| |