Page MenuHomeFreeBSD

Move anonymous object copying into its own function and avoid objectlocking for non-anonymous objects.
ClosedPublic

Authored by jeff on Nov 21 2019, 1:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 6:02 PM
Unknown Object (File)
Tue, Sep 23, 11:33 PM
Unknown Object (File)
Aug 1 2025, 1:13 AM
Unknown Object (File)
Jul 7 2025, 1:08 PM
Unknown Object (File)
Jul 6 2025, 12:34 AM
Unknown Object (File)
Jul 5 2025, 8:17 AM
Unknown Object (File)
Jul 3 2025, 8:34 AM
Unknown Object (File)
Jul 1 2025, 1:34 PM
Subscribers

Details

Summary

This patch moves another section of anonymous specific code requiring the object lock behind a flag test.

CHARGED can never be true for non anonymous memory. So we simply need to reference the object here.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jeff retitled this revision from Move anonymous object copying into its own function and avoid object locking for non-anonymous objects. to Move anonymous object copying into its own function and avoid objectlocking for non-anonymous objects..Nov 21 2019, 1:12 AM
jeff edited the summary of this revision. (Show Details)
jeff added reviewers: alc, kib, dougm, markj.
jeff set the repository for this revision to rS FreeBSD src repository - subversion.
kib added inline comments.
sys/vm/vm_map.c
3742 ↗(On Diff #64659)

You may remove this check, or I would do it in my change.

3752 ↗(On Diff #64659)

0

3766 ↗(On Diff #64659)

0

This revision is now accepted and ready to land.Nov 21 2019, 12:34 PM