Subject: Re: uvm_pageidlezero()
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 06/21/2005 01:00:42
On Mon, Jun 20, 2005 at 22:54:02 +0200, Hubert Feyrer wrote:
> On Mon, 20 Jun 2005, Michael wrote:
>
> >So - is it really necessary to run uvm_pageidlezero in the idle loop?
> >Should I call it when CPU sleep mode isn't available or disabled?
>
> I think it would be nice to have that as a sysctl'able knob for all
> platforms, so they can decide for a power-conserving laptop (no zeroing),
> or a server that wants to have zeroed pages readily available.
We already have: vm.idlezero - defaults to 0.
IIRC, some ports don't call uvm_pageidlezero as it's considered harmful.
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen