Closed xpepermint closed 2 months ago
If we revert align of AArch64, we need to address the following comment explaining why we are currently using 128 in AArch64.
Considering that the cache line size of the Apple M1 actually seems to be 128 bytes, your guess at https://github.com/crossbeam-rs/crossbeam/issues/1138 regarding the problem you encountered is probably wrong and doing this does not seem right.
$ sysctl machdep.cpu.brand_string
machdep.cpu.brand_string: Apple M1 (Virtual)
$ sysctl hw.cachelinesize
hw.cachelinesize: 128
$ sysctl machdep.cpu.brand_string
machdep.cpu.brand_string: Apple M1 Pro
$ sysctl hw.cachelinesize
hw.cachelinesize: 128
Ref: https://github.com/crossbeam-rs/crossbeam/issues/1138