In pmap_enter(9), only perform a TLB flush if we actually changed a PTE.
authorkettenis <kettenis@openbsd.org>
Mon, 10 Jan 2022 09:20:27 +0000 (09:20 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 10 Jan 2022 09:20:27 +0000 (09:20 +0000)
commit305314f454ac876e4f352a7368859545ba820b5c
tree5a66d7beeeab51df5424088842b450033faa24fb
parentb25837dd42348cecef4ab5c5552f8efbb2d3fc9e
In pmap_enter(9), only perform a TLB flush if we actually changed a PTE.
To make this intent more obvious, group the call to the TLB flush function
togther with the call that inserts/updates/removes a PTE.
Remove an incorrect comment related to this.

ok patrick@
sys/arch/arm64/arm64/pmap.c