HomeFreeBSD

cache: change ->v_cache_dd synchronisation rules

Description

cache: change ->v_cache_dd synchronisation rules

Instead of resorting to seqc modification take advantage of immutability
of entries and check if the entry still matches after everything got
prepared.

(cherry picked from commit e7cf562a40fc093df054bd7fa6f34746069a984a)

Details

Provenance
mjgAuthored on Jan 25 2021, 8:49 PM
Parents
rG9375a93b6c22: cache: make ->v_cache_dd accesses atomic-clean for lockless usage
Branches
Unknown
Tags
Unknown