HomeFreeBSD

On a failed fcmpset don't pointlessly repeat tests

Description

On a failed fcmpset don't pointlessly repeat tests

In a few places, on a failed compare-and-set, both the amd64 pmap and
the arm64 pmap repeat tests on bits that won't change state while the
pmap is locked. Eliminate some of these unnecessary tests.

Reviewed by: andrew, kib, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D31014

Details

Provenance
alcAuthored on Jul 4 2021, 5:20 AM
Reviewer
andrew
Differential Revision
D31014: pmap: On a failed fcmpset don't repeat tests that won't change
Parents
rG348c41d1815d: riscv: Implement non-stub __vdso_gettc and __vdso_gettimekeep
Branches
Unknown
Tags
Unknown