Page MenuHomeFreeBSD

Reorder struct sysentvec
AbandonedPublic

Authored by trasz on Sep 27 2020, 6:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 10:41 PM
Unknown Object (File)
Nov 7 2025, 1:58 AM
Unknown Object (File)
Oct 24 2025, 6:33 PM
Unknown Object (File)
Oct 24 2025, 1:01 AM
Unknown Object (File)
Jul 7 2025, 10:47 AM
Unknown Object (File)
Jul 6 2025, 11:40 PM
Unknown Object (File)
Jul 5 2025, 2:49 AM
Unknown Object (File)
Jun 30 2025, 7:56 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).