1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00
freebsd/sys/arm/arm
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_page.S
bcopyinout_xscale.S Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
bcopyinout.S Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
blockio.S
bus_space_asm_generic.S
bus_space_base.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
bus_space_generic.c Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
busdma_machdep-v4.c Rename busdma_machdep.c to busdma_machdep-v4.c, pmap.c to pmap-v4.c 2016-02-20 07:45:21 +00:00
busdma_machdep-v6.c
copystr.S Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
cpu_asm-v6.S Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
cpufunc_asm_arm9.S ARM: Replace only once used cpu_icache_sync_all() by ranged equivalent. 2016-02-03 13:47:50 +00:00
cpufunc_asm_arm11.S sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
cpufunc_asm_arm11x6.S ARM: Replace only once used cpu_icache_sync_all() by ranged equivalent. 2016-02-03 13:47:50 +00:00
cpufunc_asm_armv4.S ARM: Remove never used cpu_tlb_flushI and cpu_tlb_flushI_SE() functions 2016-02-01 13:13:53 +00:00
cpufunc_asm_armv5_ec.S ARM: Replace only once used cpu_icache_sync_all() by ranged equivalent. 2016-02-03 13:47:50 +00:00
cpufunc_asm_armv6.S
cpufunc_asm_armv7.S ARM: Replace only once used cpu_icache_sync_all() by ranged equivalent. 2016-02-03 13:47:50 +00:00
cpufunc_asm_fa526.S ARM: Replace only once used cpu_icache_sync_all() by ranged equivalent. 2016-02-03 13:47:50 +00:00
cpufunc_asm_pj4b.S
cpufunc_asm_sheeva.S
cpufunc_asm_xscale_c3.S Garbage collect bits forgotten in r295267. 2016-08-30 22:32:33 +00:00
cpufunc_asm_xscale.S Oops, fix a paste-o commited in r300533. 2016-05-23 20:12:38 +00:00
cpufunc_asm.S Use the new(-ish) CP15_SCTLR macro to generate system control reg accesses 2016-05-23 20:07:17 +00:00
cpufunc.c Start to clean MIDR values using the CPUID scheme. We don't need to know 2016-06-07 18:50:36 +00:00
cpuinfo.c ARM: Introduce new cpu-v4.h header and move all ARMv4 specific code 2016-02-05 09:46:24 +00:00
db_disasm.c
db_interface.c Use our nitems() macro when param.h is available. 2016-04-20 15:45:55 +00:00
db_trace.c
debug_monitor.c Improve ARM debug_monitor for SMP machines 2016-05-29 17:35:38 +00:00
disassem.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
dump_machdep.c ARM: Use new ARMv6 naming conventions for cache and TLB functions 2016-02-05 14:57:41 +00:00
elf_machdep.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
elf_note.S
elf_trampoline.c Fix building for ARM kernel that have FLASHADDR, PHYSADDR and LOADERRAMADDR defined. 2016-08-22 18:33:56 +00:00
exception.S Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
fiq_subr.S
fiq.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
fusu.S Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
gdb_machdep.c
genassym.c Remove the ARMv4/ARMv5 userland atomic support from struct proc on armv6. 2016-06-08 22:29:30 +00:00
generic_timer.c Implement userspace gettimeofday(2) with HPET timecounter. 2016-08-17 09:52:09 +00:00
gic_fdt.c Split out the FDT parts of the GICv2 interrupt controller driver. This will 2016-08-01 16:29:04 +00:00
gic.c Split out the FDT parts of the GICv2 interrupt controller driver. This will 2016-08-01 16:29:04 +00:00
gic.h Split out the FDT parts of the GICv2 interrupt controller driver. This will 2016-08-01 16:29:04 +00:00
hdmi_if.m Add Allwinner A20 HDMI support. 2016-02-25 20:17:18 +00:00
identcpu.c ARM: Don't use ugly (and hidden) global variable, control register is 2016-02-04 12:11:18 +00:00
in_cksum_arm.S
in_cksum.c
inckern.S
intr.c
locore-v4.S Some old arm ports don't load the kernel at the beginning of the memory, 2016-08-30 23:30:26 +00:00
locore-v6.S Disable alignment faults on armv6, adjust various alignment-related macros 2016-05-26 00:03:23 +00:00
locore.S Fix a copyright glitch before it gets copy-pasted again. I think this must 2016-04-07 18:19:09 +00:00
machdep_intr.c Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine 2016-04-15 16:05:41 +00:00
machdep.c Implement userspace gettimeofday(2) with HPET timecounter. 2016-08-17 09:52:09 +00:00
mem.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
minidump_machdep.c Remove an unreachable return state from ARM's minidumpsys(). 2016-09-05 16:04:40 +00:00
mp_machdep.c Move the arm call to intr_pic_init_secondary earlier in the secondary CPU 2016-06-14 16:41:39 +00:00
mpcore_timer.c sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
mpcore_timervar.h
nexus.c INTRNG: Rework handling with resources. Partially revert r301453. 2016-08-19 10:52:39 +00:00
ofw_machdep.c Allow callers of OF_decode_addr to get the size of the found mapping. This 2016-02-16 15:18:12 +00:00
physmem.c Fix a copyright glitch before it gets copy-pasted again. I think this must 2016-04-07 18:19:09 +00:00
pl190.c
pl310.c
platform_if.m Add SMP support to the ARM PLATFORM code. This will allow us to have 2016-02-28 13:43:58 +00:00
platform.c When PLATFORM_SMP is enabled, check if tunable hw.ncpu is set and valid 2016-05-10 19:11:25 +00:00
pmap-v4.c Remove support for idle page zeroing. 2016-09-03 20:38:13 +00:00
pmap-v6.c Various changes to pmap_ts_referenced() 2016-09-10 16:49:25 +00:00
pmu.c
sc_machdep.c
setcpsr.S
setstack.s
stack_machdep.c
stdatomic.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
support.S
swtch-v4.S Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
swtch-v6.S Update comments for the MD functions managing contexts for new 2016-06-16 12:05:44 +00:00
swtch.S
sys_machdep.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
syscall.c Remove an unused static inline function. 2016-02-15 16:55:44 +00:00
trap-v4.c Remove armv6 specific part from armv4 specific file and update comment. 2016-02-22 12:57:08 +00:00
trap-v6.c Include machine/acle-compat.h in cdefs.h on arm if the compiler doesn't 2016-05-25 19:44:26 +00:00
uio_machdep.c
undefined.c
unwind.c
vfp.c
vm_machdep.c Update comments for the MD functions managing contexts for new 2016-06-16 12:05:44 +00:00