Page MenuHomeFreeBSD

Reorder struct sysentvec
AbandonedPublic

Authored by trasz on Sep 27 2020, 6:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 7, 9:49 PM
Unknown Object (File)
Thu, Mar 5, 2:10 PM
Unknown Object (File)
Fri, Feb 27, 11:13 PM
Unknown Object (File)
Fri, Feb 27, 10:41 AM
Unknown Object (File)
Fri, Feb 27, 2:29 AM
Unknown Object (File)
Dec 29 2025, 8:15 PM
Unknown Object (File)
Dec 13 2025, 6:30 AM
Unknown Object (File)
Dec 1 2025, 10:41 PM
Subscribers

Details

Reviewers
kib
Summary

Reorder struct sysentvec so that commonly accessed fields are close
together.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33843
Build 31060: arc lint + arc unit

Event Timeline

trasz requested review of this revision.Sep 27 2020, 6:56 PM

What is the point ? Is this based on any measurements ? I see it as an arbitrary tweaking that does not serve any obvious purpose.

The point is to avoid unnecessary cache misses. No measurements yet; syscall overhead is still to big to make stuff like that noticeable. I'm not in a hurry with this patch though, so let's wait until I can show that it makes a difference (or show that it doesn't).