HomeFreeBSD

For unlinked files, do not msync(2) or sync on the vnode deactivation.

Description

For unlinked files, do not msync(2) or sync on the vnode deactivation.

One consequence of the patch is that msyncing unlinked file mappings
no longer reduces the amount of the dirty memory in the system, but I
do not think that there are users of msync(2) that utilize it for such
side-effect.

Reported and tested by: tjil
PR: 222356
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D12411

Details

Provenance
kibAuthored on
Reviewer
alc
Differential Revision
D12411: For unlinked files, do not msync(2) or sync on inactivation.
Parents
rS323767: Add myself and mentorship status to committers files.
Branches
Unknown
Tags
Unknown