Re: [PATCH] consolidate task preempts

From: Ingo Molnar
Date: Tue Nov 02 2004 - 07:37:49 EST



* Con Kolivas <kernel@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/