HomeFreeBSD

tmpfs_getattr(): Only take vm_object lock on 32bit machines

Description

tmpfs_getattr(): Only take vm_object lock on 32bit machines

Torn reads are only possible for 32bit arches.

Requested by: mjg
Reviewed by: mjg, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D37725

Details

Provenance
kibAuthored on Dec 17 2022, 11:03 AM
Reviewer
mjg
Differential Revision
D37725: tmpfs_getattr(): Only take vm_object lock on 32bit
Parents
rG3249449190c2: vm_page_grab_valid(): clear *mp in case of pager denying page allocation
Branches
Unknown
Tags
Unknown