[haiku-commits] Re: BRANCH pdziepak-github.master [a96e17b] src/system/kernel/scheduler

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 6 Feb 2014 11:44:48 +0100 (CET)

> On February 6, 2014 at 4:01 AM "pdziepak-github.master"
> <community@xxxxxxxxxxxx> wrote:
>   The solution to this problem is to add a timer each time an idle thread is
>   scheudled which, after kLoadMeasureInterval, would fire and force load
>   update.

Wouldn't that make it tick again (as opposed to tickless)?
Also, I don't understand why this would be necessary. Why would the load changes
when the idle thread runs? Isn't that always triggered by external events that
could instead update the load statistics?

In any case, I haven't really looked at your implementation yet, so this is more
of a gut feeling.

Bye,
   Axel.

Other related posts: