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)
Mon, Oct 6, 11:47 PM
Unknown Object (File)
Sat, Sep 27, 4:02 PM
Unknown Object (File)
Fri, Sep 26, 12:08 AM
Unknown Object (File)
Aug 29 2025, 1:46 AM
Unknown Object (File)
Aug 2 2025, 9:21 AM
Unknown Object (File)
Aug 1 2025, 5:21 PM
Unknown Object (File)
Jul 13 2025, 6:44 PM
Unknown Object (File)
Jul 12 2025, 7:17 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.