Page MenuHomeFreeBSD

Factor out common clipping code
ClosedPublic

Authored by dougm on Dec 11 2019, 7:37 AM.
Tags
None
Referenced Files
F136929057: D22760.id65495.diff
Thu, Nov 20, 5:17 PM
F136926567: D22760.id.diff
Thu, Nov 20, 5:02 PM
F136926303: D22760.id65488.diff
Thu, Nov 20, 5:00 PM
F136925134: D22760.diff
Thu, Nov 20, 4:52 PM
Unknown Object (File)
Sun, Nov 9, 3:00 PM
Unknown Object (File)
Tue, Oct 28, 2:12 PM
Unknown Object (File)
Thu, Oct 23, 11:29 PM
Unknown Object (File)
Oct 21 2025, 6:58 AM
Subscribers

Details

Summary

Extract code common to _vm_map_clip_start and _vm_map_clip_end into a function, vm_map_entry_clone, that can be invoked by each.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Dec 11 2019, 11:10 AM
markj added inline comments.
sys/vm/vm_map.c
2390 ↗(On Diff #65488)

I think we typically put an extra newline between code and assertions at the beginning of a function.