Page MenuHomeFreeBSD

Factor out common clipping code
ClosedPublic

Authored by dougm on Dec 11 2019, 7:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 6, 7:16 AM
Unknown Object (File)
Thu, Mar 5, 4:47 PM
Unknown Object (File)
Tue, Mar 3, 7:31 PM
Unknown Object (File)
Sat, Feb 28, 8:43 PM
Unknown Object (File)
Sat, Feb 28, 6:07 PM
Unknown Object (File)
Sat, Feb 28, 4:41 AM
Unknown Object (File)
Sun, Feb 22, 8:12 AM
Unknown Object (File)
Jan 24 2026, 1:29 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.