Page MenuHomeFreeBSD

Make the CPU width a macro
Needs ReviewPublic

Authored by andrew on Aug 25 2022, 10:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 8:56 AM
Unknown Object (File)
Mon, Apr 22, 8:41 AM
Unknown Object (File)
Jan 11 2024, 4:46 AM
Unknown Object (File)
Dec 20 2023, 5:40 AM
Unknown Object (File)
Dec 15 2023, 4:33 AM
Unknown Object (File)
Jun 27 2023, 4:26 PM
Unknown Object (File)
May 5 2023, 9:05 PM
Unknown Object (File)
Apr 8 2023, 8:37 PM
Subscribers

Details

Reviewers
None
Group Reviewers
pmc
Summary

This allows us to increase it later when 1000 core machines are
available. For now make it 3 digits to support the current > 99 core
machines.

Diff Detail

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

Event Timeline

bz added inline comments.
usr.sbin/pmcstat/pmcstat.c
123

This may sound weird, but how far are we off from 4 digits? I understand that in academia 1088 core RISC-V exists...

123

also PMC_CPU_STR_WIDTH as it CPU_WIDTH could easily be confused with 32 vs. 64 vs. 128 bit?