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
F82877462: D22472.diff
Fri, May 3, 11:41 AM
Unknown Object (File)
Sat, Apr 27, 3:18 PM
Unknown Object (File)
Dec 20 2023, 7:10 AM
Unknown Object (File)
Dec 18 2023, 6:44 PM
Unknown Object (File)
Nov 28 2023, 10:34 AM
Unknown Object (File)
Nov 26 2023, 8:52 AM
Unknown Object (File)
Nov 25 2023, 10:23 PM
Unknown Object (File)
Nov 25 2023, 3:19 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27672
Build 25873: arc lint + arc unit

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

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

3752

0

3766

0

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