]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cache: clean up atomic ops on numneg and numcache
authormjg <mjg@FreeBSD.org>
Wed, 23 Sep 2020 10:42:41 +0000 (10:42 +0000)
committermjg <mjg@FreeBSD.org>
Wed, 23 Sep 2020 10:42:41 +0000 (10:42 +0000)
commit75995d7174183ca8967a47c3e8a2360b7699c773
tree809859fa17e43c9ac00b50d634d14bca65263966
parent34342655e6d6fc0b104b23906f39e982d9645963
cache: clean up atomic ops on numneg and numcache

- use subtract instead of adding -1
- drop the useless _rel fence

Note this should be converted to a scalable scheme.
sys/kern/vfs_cache.c