HomeFreeBSD

Microoptimize tmpfs node ref/unref by using atomics.

Description

Microoptimize tmpfs node ref/unref by using atomics.

Avoid tmpfs mount and node locks when ref count is greater than zero,
which is the case until node is being destroyed by unlink or unmount.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D26346

Details

Provenance
kibAuthored on Sep 15 2020, 10:13 PM
Parents
rG3c484f325e60: Convert page cache read to VOP.
Branches
Unknown
Tags
Unknown

Event Timeline