summaryrefslogtreecommitdiff
path: root/src/modules/swab
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-05 14:48:09 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-05 14:48:09 -0700
commit2dc2abb1d213012336c21e91bea350a64ba48cda (patch)
treeae61f9c602ed3d2aad5f3c139047a0df9765c13f /src/modules/swab
parent8de13085a61b1b82ed0df31c246b528c328b6d35 (diff)
til_util: actually enforce TIL_MAXCPUS uniformly
The win32 and mach builds were free to violate this, as it's always just been a local define for putting some kind of bound on the linux "/sys/devices/system/cpu/cpuN" probing loop. But in preparation for moving TIL_MAXCPUS out to til_util.h for public consumption in sizing per-cpu arrays, it needs to actually be enforced consistently as an upper bound cap. That way everything can safely assume n_cpus won't ever exceed TIL_MAXCPUS.
Diffstat (limited to 'src/modules/swab')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved