Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle CACHE_LINE_SIZE constant in a way that reflects the underlying physical CPU. #956

Open
Starnox opened this issue Jun 22, 2023 · 1 comment
Labels
kind/enhancement New feature or request

Comments

@Starnox
Copy link
Contributor

Starnox commented Jun 22, 2023

Feature request summary

Right now, under each specific arch in lcpu.h a constant named CACHE_LINE_SIZE is specified with its value set to the arch bit size (eg. for x86_64 the constant is set to 64), 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

@Starnox Starnox added the kind/enhancement New feature or request label Jun 22, 2023
@Ecazares15
Copy link
Contributor

Hello!

We are students from the University of Texas at Austin taking a virtualization course (cs360v) looking for opportunities to contribute to an open source project for class credit.

Could I be assigned to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants