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)
Feb 8 2025, 5:20 AM
Unknown Object (File)
Jan 19 2025, 2:34 PM
Unknown Object (File)
Jan 18 2025, 2:49 AM
Unknown Object (File)
Jan 10 2025, 10:10 AM
Unknown Object (File)
Jan 10 2025, 4:44 AM
Unknown Object (File)
Dec 5 2024, 12:44 AM
Unknown Object (File)
Nov 17 2024, 3:36 PM
Unknown Object (File)
Nov 17 2024, 3:24 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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

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