Page MenuHomeFreeBSD

Fix zone and keg alignment as well as boot pages calculations on numa.
ClosedPublic

Authored by jeff on Jan 5 2020, 11:53 PM.
Tags
None
Referenced Files
F143320644: D23046.diff
Wed, Jan 28, 8:52 PM
F143318484: D23046.diff
Wed, Jan 28, 8:06 PM
Unknown Object (File)
Sun, Jan 25, 5:46 PM
Unknown Object (File)
Fri, Jan 23, 2:41 AM
Unknown Object (File)
Mon, Jan 19, 5:29 PM
Unknown Object (File)
Sun, Jan 11, 10:18 PM
Unknown Object (File)
Mon, Jan 5, 8:32 PM
Unknown Object (File)
Dec 16 2025, 6:42 PM
Subscribers

Details

Summary

While making NUMA amd64 w/o MD_SMALL_ALLOC boot I noticed a number of numa bugs but also weaker than required alignment. In practice the alignment of zones was actually dictated by the alignment of the per-cpu cache structure. This just clarifies existing behavior while simplifying code.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28494
Build 26551: arc lint + arc unit

Event Timeline

jeff added reviewers: rlibby, markj.
jeff set the repository for this revision to rS FreeBSD src repository - subversion.
sys/amd64/include/vmparam.h
79

obviously not committing this.

This revision is now accepted and ready to land.Jan 6 2020, 12:10 AM
markj added inline comments.
sys/vm/uma_int.h
169

Typo: terminology.

I think we used to define CACHE_LINE_SIZE to 128 on amd64 for this reason. I'm not sure when that changed.