kernel - Comment future vrele() code intention
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Feb 2020 06:25:35 +0000 (22:25 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Feb 2020 21:48:28 +0000 (13:48 -0800)
commit6b608642e365f91f442a8606a2eb0a6e8f400fb6
tree28d770a5269151e70eee653cfee00665683fc215
parent0324e06eb9067d93d7927be0a2d09381fd93d298
kernel - Comment future vrele() code intention

* vrele() currently uses atomic_fcmpset_*() and will in the future
  use atomic_fetchadd_*() instead, but I can't change it without a
  bit more work.

* Avoid updating v_flag and v_act if the values do not change, reducing
  SMP contention a bit.
sys/kern/vfs_lock.c