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
Reviewer
markj
Differential Revision
D26346: Add tmpfs page cache read support.
Parents
rS365785: Convert page cache read to VOP.
Branches
Unknown
Tags
Unknown