Skip to content
Branch: master
Find file History
markjdb Remove page locking from pmap_mincore().
After r352110 the page lock no longer protects a page's identity, so
there is no purpose in locking the page in pmap_mincore().  Instead,
if vm.mincore_mapped is set to the non-default value of 0, re-lookup
the page after acquiring its object lock, which holds the page's
identity stable.

The change removes the last callers of vm_page_pa_tryrelock(), so
remove it.

Reviewed by:	kib
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D21823
Latest commit 84cd531 Oct 16, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
autoconf.c Welcome the RISC-V 64-bit kernel. Jan 29, 2016
bus_machdep.c Add the implementation of basic bus_space_read/write functions. Apr 26, 2016
bus_space_asm.S Add the implementation of basic bus_space_read/write functions. Apr 26, 2016
busdma_bounce.c Provide a template for busdma code for RISC-V. May 7, 2019
busdma_machdep.c Provide a template for busdma code for RISC-V. May 7, 2019
clock.c RISC-V: Support EARLY_AP_STARTUP Sep 16, 2019
copyinout.S riscv: Fix copyin/copyout Jul 29, 2019
copystr.c Welcome the RISC-V 64-bit kernel. Jan 29, 2016
cpufunc_asm.S Various fixes for TLB management on RISC-V. Oct 15, 2018
db_disasm.c Rewrite RISC-V disassembler: Aug 14, 2018
db_interface.c Replace uses of sbadaddr with stval. Dec 19, 2018
db_trace.c Add support for ddb(4). Mar 10, 2016
dump_machdep.c Welcome the RISC-V 64-bit kernel. Jan 29, 2016
elf_machdep.c Fix some broken relocation handling Sep 26, 2019
exception.S Fix global pointer relaxations in the RISC-V kernel Jun 9, 2019
genassym.c Implement per-CPU pmap activation tracking for RISC-V. Feb 13, 2019
identcpu.c riscv: Add missing header Sep 11, 2019
in_cksum.c spdx: initial adoption of licensing ID tags. Nov 18, 2017
intr_machdep.c Remove a duplicate KTR entry Sep 8, 2019
locore.S Fix compilation of locore.S with clang Sep 8, 2019
machdep.c A comment in subr_devmap.c mentions that devmap_print_table() should Oct 12, 2019
mem.c Welcome the RISC-V 64-bit kernel. Jan 29, 2016
minidump_machdep.c Display the approximate space needed when a minidump fails due to lack Jun 30, 2019
mp_machdep.c RISC-V: Support EARLY_AP_STARTUP Sep 16, 2019
nexus.c Deactivate IRQ resource by calling to intr_deactivate_irq(). May 1, 2019
ofw_machdep.c Add the implementation of OF_decode_addr(). Apr 26, 2016
plic.c Implement pic_pre_ithread(), pic_post_ithread(). Apr 24, 2019
pmap.c Remove page locking from pmap_mincore(). Oct 16, 2019
riscv_console.c Support for v1.10 (latest) of RISC-V privilege specification. Aug 10, 2017
soc.c Embed a simplebus_softc in struct soc_softc. Jul 24, 2018
stack_machdep.c Add support for ddb(4). Mar 10, 2016
support.S Provide protection against starvation of the ll/sc loops when accessi… Jul 12, 2019
swtch.S Fix global pointer relaxations in the RISC-V kernel Jun 9, 2019
sys_machdep.c Welcome the RISC-V 64-bit kernel. Jan 29, 2016
timer.c Grab timer frequency from FDT. Mar 27, 2019
trap.c Improve MD page fault handlers. Sep 27, 2019
uio_machdep.c Welcome the RISC-V 64-bit kernel. Jan 29, 2016
uma_machdep.c Implement minidump support for RISC-V. Mar 6, 2019
unwind.c Add support for ddb(4). Mar 10, 2016
vm_machdep.c Fix global pointer relaxations in the RISC-V kernel Jun 9, 2019
You can’t perform that action at this time.