--- - branch: MAIN date: Thu Apr 23 22:58:36 UTC 2020 files: - new: '1.141' old: '1.140' path: src/sys/kern/vfs_cache.c pathrev: src/sys/kern/vfs_cache.c@1.141 type: modified id: 20200423T225836Z.d1dfab7376c242c34b9981d9e3d5d678cd2182ea log: | cache_lookup_linked(): We can't use the name to decide how to lock the dir, since the name refers to the child (found object) not the parent (the thing that's being locked). Fix it by always doing rw_tryenter(). There's not much to be won by optimising for the contended case, and were this routine doing lockless lookups (the eventual goal) it wouldn't be hanging around waiting for changes either. module: src subject: 'CVS commit: src/sys/kern' unixtime: '1587682716' user: ad