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

(cherry picked from commit e41fde3ed71c1e4fce81eac002c9f5b0926e6c49)

Details

Provenance
alcAuthored on Jul 4 2021, 5:20 AM
markjCommitted on Aug 31 2021, 7:09 PM
Parents
rG605e07a27ecb: amd64: a simplication to pmap_remove_{all,write}
Branches
Unknown
Tags
Unknown