Re: [RFC][PATCH 1/6] Introduce struct sched_entity and struct lrq
From: Linus Torvalds
Date: Mon Jun 11 2007 - 14:49:20 EST
On Mon, 11 Jun 2007, Srivatsa Vaddagiri wrote:
>
> struct sched_entity
> stores essential attributes/execution-history used by CFS core
> to drive fairness between 'schedulable entities' (tasks, users etc)
Wouldn't this be sensible to integrate into CFS _regardless_ of anything
else?
Especially with the alleged "pluggable" scheduler model, one of the things
lacking in any pluggability is the fact that the core thread data
structures are anythign but pluggable. This patch makes it no more so, but
at least it abstracts out the fields that are used by the scheduler, and
would seem to be a nice cleanup. No?
Linus
-
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/