]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: a simplication to pmap_remove_{all,write}
authorAlan Cox <alc@FreeBSD.org>
Wed, 30 Jun 2021 05:59:21 +0000 (00:59 -0500)
committerAlan Cox <alc@FreeBSD.org>
Wed, 30 Jun 2021 18:12:25 +0000 (13:12 -0500)
commit1a8bcf30f97e6153def2af781db2fe54f5c0d106
treeea0f2a953090305a28561e07a55d96a4a4104f7a
parent3f197b101f71ee4f4949c53bf330f61b43749ce9
amd64: a simplication to pmap_remove_{all,write}

Eliminate some unnecessary unlocking and relocking when we have to retry
the operation to avoid deadlock.  (All of the other pmap functions that
iterate over a PV list already implemented retries without these same
unlocking and relocking operations.)

Reviewed by: kib, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30951
sys/amd64/amd64/pmap.c