Subject: Re: CVS commit: syssrc
To: None <>
From: Chris G. Demetriou <>
List: tech-kern
Date: 09/21/2000 11:58:28 (Jason R Thorpe) writes:
> Log Message:
> Make PMAP_PAGEIDLEZERO() return a boolean value.  FALSE indidcates
> that the page being zero'd was not completed and that page zeroing
> should be aborted.  This may be used by machine-dependent code doing
> slow page access to reduce the latency of running a process that has
> become runnable while in the middle of doing a slow page zero.

this is kind-of a bummer.  on the mips, for instance, it means that
you can't just #define PMAP_PAGEIDLEZERO to use pmap_zero_page(),
which is good for some systems on which uncached accesses are Bad but
on which is really is pretty much OK to zero pages anyway.

I suppose you can do a more complicated #define, but it's still a bit
of a PITA, and kinda makes me think that this was a
less-than-completely-thought out change, and could have used
additional (any?) discussion...