Re: [PATCH 0/7] CPU controller - V1

From: Mike Galbraith
Date: Mon Aug 21 2006 - 10:59:34 EST


On Mon, 2006-08-21 at 18:18 +0530, Srivatsa Vaddagiri wrote:
> On Mon, Aug 21, 2006 at 10:42:40AM +0000, Mike Galbraith wrote:
> > WRT interactivity: Looking at try_to_wake_up(), it appears that wake-up
> > of a high priority group-a task will not result in preemption of a lower
> > priority current group-b task. True?
>
> I dont think it is true. The definition of TASK_PREEMPTS_CURR() is
> unchanged with these patches.

I must be missing something. If current and awakening tasks have
separate runqueues, task_rq(awakening)->curr != current. We won't look
at current->prio, so won't resched(current).

-Mike

-
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/