Page MenuHomeFreeBSD

Reorder struct sysentvec
AbandonedPublic

Authored by trasz on Sep 27 2020, 6:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 9:41 AM
Unknown Object (File)
Thu, May 14, 8:47 AM
Unknown Object (File)
Sun, May 10, 9:49 PM
Unknown Object (File)
Thu, Apr 30, 1:54 PM
Unknown Object (File)
Thu, Apr 30, 1:54 PM
Unknown Object (File)
Sat, Apr 25, 2:11 PM
Unknown Object (File)
Apr 17 2026, 6:07 AM
Unknown Object (File)
Apr 9 2026, 8:06 AM
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).