freebsd-dev/sys/powerpc/booke
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
..
clock.c Remove a warning in DELAY about large delays. In kern_shutdown.c 2009-12-19 20:42:56 +00:00
copyinout.c Merge r198724 to Book-E. casuword() non-atomically read the current value 2010-02-20 16:13:43 +00:00
interrupt.c Enable power management for E500 cores. Use "doze" for now to make 2010-03-23 19:30:56 +00:00
locore.S Improve style(9), clean up. 2009-05-21 12:05:15 +00:00
machdep.c Change the arguments of exec_setregs() so that it receives a pointer 2010-03-25 14:24:00 +00:00
mp_cpudep.c Add SMP support on U3-based G5 systems. This does not yet work perfectly: 2009-10-23 03:17:02 +00:00
platform_bare.c Discover and handle the number of E500 CPUs in run time. 2009-06-05 09:46:00 +00:00
pmap.c Resurrect pmap_is_referenced() and use it in mincore(). Essentially, 2010-04-24 17:32:52 +00:00
swtch.S Minor style consistency fix. 2009-04-22 13:18:04 +00:00
trap_subr.S Actually pass a pointer to the trapframe to powerpc_extr_interrupt(). 2010-03-23 01:07:30 +00:00
trap.c Simplify the invocation of vm_fault(). Specifically, eliminate the flag 2009-11-27 20:24:11 +00:00
vm_machdep.c Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00