Subject: Re: Double-faulting
To: Charles M. Hannum <>
From: Perry E. Metzger <>
List: tech-kern
Date: 03/24/1999 12:04:16
"Charles M. Hannum" <> writes:
> So it turns out that this can happen for both modified and referenced
> bit emulation.  It seems to me that one simple way to address this is
> to pass the fault type through uvm_fault() to pmap_enter(), so that
> pmap_enter() can preset the modified/referenced bits and make the page
> immediately accessible.  On systems where this is not needed, the
> extra argument can simply be ignored.
> And thoughts on this?

It sounds perfectly reasonable, but I'm far from an expert on this