Page MenuHomeFreeBSD

Factor out common clipping code
ClosedPublic

Authored by dougm on Dec 11 2019, 7:37 AM.
Tags
None
Referenced Files
F102814865: D22760.diff
Sun, Nov 17, 1:18 PM
Unknown Object (File)
Sep 29 2024, 1:28 AM
Unknown Object (File)
Sep 27 2024, 5:39 AM
Unknown Object (File)
Sep 25 2024, 6:46 PM
Unknown Object (File)
Sep 24 2024, 1:28 PM
Unknown Object (File)
Sep 24 2024, 6:51 AM
Unknown Object (File)
Sep 23 2024, 7:38 AM
Unknown Object (File)
Sep 22 2024, 8:44 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

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.