]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cache: lockless forward lookup with smr
authormjg <mjg@FreeBSD.org>
Wed, 1 Jul 2020 05:59:08 +0000 (05:59 +0000)
committermjg <mjg@FreeBSD.org>
Wed, 1 Jul 2020 05:59:08 +0000 (05:59 +0000)
commita979257a1b7c814847d5fa9f02634e8700a91a96
tree79ff8317f2c9a92933a3a2a13ef83f2d89d2e9df
parent4074673a8170783adc612fe7b120b52856220924
cache: lockless forward lookup with smr

This eliminates the need to take bucket locks in the common case.

Concurrent lookup utilizng the same vnodes is still bottlenecked on referencing
and locking path components, this will be taken care of separately.

Reviewed by: kib
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D23913
sys/kern/vfs_cache.c