Re: Quick question about hyper-threading

Chuck Ebbert (76306.1226@compuserve.com)
Sun, 13 Apr 2003 18:13:24 -0400


Rovert Love wrote:

> No, the current scheduler (HT or stock 2.5) does not do
> this.
>
> Your theories are correct. It would be interesting to try
> this and see.
>
> It is nontrivial to do the ->mm checks in the scheduler though -
> certainly they cannot be done easily (if at all) in constant-time
> (i.e., it won't be O(1)).

Is the scheduler even the right place to do that?

I was thinking maybe the task_struct could use a cpus_desired
field -- then other parts of the system could give the scheduler hints
about which CPU to schedule a task on.


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