Page MenuHomeFreeBSD

Use vm_map_entry_t field prev less
ClosedPublic

Authored by dougm on Jun 13 2019, 3:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 13 2024, 1:56 AM
Unknown Object (File)
Jan 31 2024, 6:51 PM
Unknown Object (File)
Dec 20 2023, 1:17 AM
Unknown Object (File)
Dec 5 2023, 7:52 PM
Unknown Object (File)
Sep 11 2023, 4:55 AM
Unknown Object (File)
Aug 27 2023, 2:29 PM
Unknown Object (File)
Aug 25 2023, 8:56 AM
Unknown Object (File)
Jul 4 2023, 5:28 PM
Subscribers

Details

Summary

This change avoids using the prev field in two functions that iterate over consecutive entries, so that that can easily just 'remember' the prev value instead of looking it up.

This is a small part of an effort to eventually eliminate the prev field.

Diff Detail

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

Event Timeline

kib added inline comments.
vm_map.c
4855 ↗(On Diff #58578)

You can remove excessive () in this line.

4856 ↗(On Diff #58578)

And there too.

4877 ↗(On Diff #58578)

Same.

This revision is now accepted and ready to land.Jun 13 2019, 9:43 AM
This revision was automatically updated to reflect the committed changes.