Subject: Re: CVS commit: syssrc
To: None <soren@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 04/29/2000 14:25:16
"Soren S. Jorvang" wrote:

> Module Name:	syssrc
> Committed By:	soren
> Date:		Fri Apr 28 19:25:57 UTC 2000
> 
> Modified Files:
> 
> 	syssrc/sys/arch/mips/include: pmap.h
> 	syssrc/sys/arch/mips/mips: locore.S pmap.c
> 
> Log Message:
> 
> Zero free pages in the idle loop.
> 

Umm, is the logic right here?  It appears that uvm_pageidlezero is
only called _after_ a runnable process appears on whichqs, and then
uvm_pageidlezero will only clear one page because it checks whichqs at
the end of it's loop.  Does "vmstat -s | egrep 'zero|pages free'" show
the zero page count at the number of free pages?

With my earlier experiments at calling uvm_pageidlezero _before_ the
busy loop checking whichqs I was getting lockups on a pmax during the
SCSI drive probe (after the "waiting for 2 seconds....".

Simon.