On Sun, 24 Feb 2008 14:12:47 +0100 "J.C. Pizarro" <[EMAIL PROTECTED]> wrote:

> It's statistic, yes, but it's a very important parameter for the 
> CPU-scheduler.
> The CPU-scheduler will know the number of context switches of each task
>  before of to take a blind decision into infinitum!.

We already have these:

        unsigned long nvcsw, nivcsw; /* context switch counts */

in the task_struct.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to