android_packages_modules_Vi.../authfs
Victor Hsieh 4b7f959f45 Use AtomicU64 for handle_ref_count
This allows us to use a read lock instead of a write on `lookup`.

Intriguingly, the corresponding call to decrease the count in `forget`
does not need a lock, thanks to Rust. So this should be a net
performance gain.

Also, panic is a handle's reference count is about to overflow.

Bug: 220386264
Test: atest AuthFsHostTest
Change-Id: Icc3ba1a3fe92431837d6cffb470688ae0883a355
2022-03-09 17:17:35 +00:00
..
aidl Support setting file mode 2021-12-09 09:50:29 -08:00
fd_server fd_server: use RwLock instead of Mutex 2022-03-08 00:06:22 +00:00
service Use fs-verity digests proto to build the directory 2022-01-12 09:18:20 -08:00
src Use AtomicU64 for handle_ref_count 2022-03-09 17:17:35 +00:00
testdata Update 4k.fsv_meta 2022-01-17 16:35:15 +09:00
tests Merge "Fix explicit checks for /dev/kvm" 2022-03-08 09:10:19 +00:00
Android.bp Put all our tests to general-tests 2022-02-04 11:49:31 +09:00
TEST_MAPPING Speed up AuthFsHostTest by reusing the VM 2021-07-15 13:10:25 -07:00