Subject: Re: Double-faulting
To: Charles M. Hannum <firstname.lastname@example.org>
From: Perry E. Metzger <email@example.com>
Date: 03/24/1999 12:04:16
"Charles M. Hannum" <firstname.lastname@example.org> 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