1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00
freebsd/sys/riscv/riscv
Alan Cox 8cb0c1029d Various changes to pmap_ts_referenced()
Move PMAP_TS_REFERENCED_MAX out of the various pmap implementations and
into vm/pmap.h, and describe what its purpose is.  Eliminate the archaic
"XXX" comment about its value.  I don't believe that its exact value, e.g.,
5 versus 6, matters.

Update the arm64 and riscv pmap implementations of pmap_ts_referenced()
to opportunistically update the page's dirty field.

On amd64, use the PDE value already cached in a local variable rather than
dereferencing a pointer again and again.

Reviewed by:	kib, markj
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D7836
2016-09-10 16:49:25 +00:00
..
autoconf.c
bcopy.c
bus_machdep.c Add the implementation of basic bus_space_read/write functions. 2016-04-26 12:45:01 +00:00
bus_space_asm.S Add the implementation of basic bus_space_read/write functions. 2016-04-26 12:45:01 +00:00
busdma_machdep.c
clock.c
copyinout.S
copystr.c
cpufunc_asm.S Add support for symmetric multiprocessing (SMP). 2016-02-24 16:50:34 +00:00
db_disasm.c Add support for ddb(4). 2016-03-10 15:51:43 +00:00
db_interface.c Add support for ddb(4). 2016-03-10 15:51:43 +00:00
db_trace.c Add support for ddb(4). 2016-03-10 15:51:43 +00:00
dump_machdep.c
elf_machdep.c Fix typos. 2016-06-02 15:14:40 +00:00
exception.S o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
genassym.c o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
identcpu.c o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
in_cksum.c
intr_machdep.c o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
locore.S o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
machdep.c o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
mem.c
minidump_machdep.c As <machine/vmparam.h> is included from <vm/vm_param.h>, there is no 2016-02-22 09:08:04 +00:00
mp_machdep.c o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
nexus.c risc-v: for pointers replace 0 with NULL. 2016-04-14 17:25:50 +00:00
ofw_machdep.c Add the implementation of OF_decode_addr(). 2016-04-26 12:33:25 +00:00
pmap.c Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
riscv_console.c o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
sbi.S o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
stack_machdep.c Add support for ddb(4). 2016-03-10 15:51:43 +00:00
support.S
swtch.S Update RISC-V port to Privileged Architecture Version 1.9. 2016-08-02 14:50:14 +00:00
sys_machdep.c
timer.c o Separate rtc and timecmp registers: they are different across 2016-09-01 14:58:11 +00:00
trap.c Update RISC-V port to Privileged Architecture Version 1.9. 2016-08-02 14:50:14 +00:00
uio_machdep.c
uma_machdep.c Include sys/_task.h into uma_int.h, so that taskqueue.h isn't a 2016-02-09 20:22:35 +00:00
unwind.c Add support for ddb(4). 2016-03-10 15:51:43 +00:00
vm_machdep.c o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00