Subject: Double-faulting
To: None <tech-kern@netbsd.org>
From: Charles M. Hannum <root@ihack.net>
List: tech-kern
Date: 03/24/1999 06:24:24
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?