Handle CACHE_LINE_SIZE
constant in a way that reflects the underlying physical CPU.
#956
Labels
kind/enhancement
New feature or request
Feature request summary
Right now, under each specific
arch
inlcpu.h
a constant namedCACHE_LINE_SIZE
is specified with its value set to the arch bit size (eg. forx86_64
the constant is set to64
), though this is not always the case, as this variable depends on the physical CPU that the kernel runs on. Being able to automatically detect and set this would provide performance benefits, taking advantage of the underlying hardware.Describe alternatives
No response
Related architectures
None
Related platforms
None
Additional context
No response
The text was updated successfully, but these errors were encountered: