freebsd-dev/sys/sun4v
Alan Cox 7b85f59183 Resurrect pmap_is_referenced() and use it in mincore(). Essentially,
pmap_ts_referenced() is not always appropriate for checking whether or
not pages have been referenced because it clears any reference bits
that it encounters.  For example, in mincore(), clearing the reference
bits has two negative consequences.  First, it throws off the activity
count calculations performed by the page daemon.  Specifically, a page
on which mincore() has called pmap_ts_referenced() looks less active
to the page daemon than it should.  Consequently, the page could be
deactivated prematurely by the page daemon.  Arguably, this problem
could be fixed by having mincore() duplicate the activity count
calculation on the page.  However, there is a second problem for which
that is not a solution.  In order to clear a reference on a 4KB page,
it may be necessary to demote a 2/4MB page mapping.  Thus, a mincore()
by one process can have the side effect of demoting a superpage
mapping within another process!
2010-04-24 17:32:52 +00:00
..
cddl move CDDL licensed machine description support routine files to cddl directory 2006-11-24 01:56:46 +00:00
compile
conf Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had 2010-04-22 21:31:34 +00:00
include Move the constants specifying the size of struct kinfo_proc into 2010-04-24 12:49:52 +00:00
mdesc This is a follow-up, cleaning-up commit about recent changes involving 2007-09-11 22:54:09 +00:00
sun4v Resurrect pmap_is_referenced() and use it in mincore(). Essentially, 2010-04-24 17:32:52 +00:00