Subject: Re: Revising CPU usage calculations
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: None <dsieger@techfak.uni-bielefeld.de>
List: tech-kern
Date: 03/26/2007 10:26:03
On Mon, Mar 26, 2007 at 10:31:36AM +0900, YAMAMOTO Takashi wrote:
> > Any comments/suggestions?
>
> autonice is scheduler-independent as well.
> (thus the "runtm" argument for sched_pstats_hook is unnecessary.)
Mmh, I tend to disagree. autonice is not a generic mechanism
needed by all schedulers but a specific mechanism of the 4BSD
scheduler to prevent starvation. So, I think it should go into the
scheduler-dependent hook.
Regards,
Daniel
--
Daniel Sieger
Faculty of Technology
Bielefeld University
wwwhomes.uni-bielefeld.de/dsieger