HomeFreeBSD

Fix reference counting in pmap_ts_referenced() on RISC-V.

Description

Fix reference counting in pmap_ts_referenced() on RISC-V.

pmap_ts_referenced() does not necessarily clear the access bit from
all accessed mappings of a given page. Thus, if a scan of the mappings
needs to be restarted, we should be careful to avoid double-counting
accessed mappings whose access bits were not cleared in a previous
attempt.

Reported by: alc
Reviewed by: alc
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20926

Details

Provenance
markjAuthored on Jul 15 2019, 3:43 PM
Parents
rGe52acf6a462e: Remove duplicated device firmware entry in generic arm kernel config added in…
Branches
Unknown
Tags
Unknown

Event Timeline