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

smp: add an abstraction handling detected CPUs' metadata #266

Merged
merged 2 commits into from
Jul 16, 2022

Conversation

wipawel
Copy link
Contributor

@wipawel wipawel commented Jul 8, 2022

Instead of orienting detected CPUs based on allocated percpu pages for them, use a generic and unified mechanisms to allocate and store detected CPUs metadata (including the percpu pages).

This enables better handling of the per-CPU resources and allows to easier assign tasks to specific CPUs (future commits).

This also makes the BSP identification more sane and allows to have a common API interface for finding available CPUs (and their number).

@wipawel wipawel added improvement A small enhancement, that makes already implemented features better devel Development effort Priority: 2 Very important feature labels Jul 8, 2022
@wipawel wipawel requested a review from a team as a code owner July 8, 2022 08:28
@wipawel wipawel force-pushed the cpu_abstraction branch from 5b3603b to 79ff1cf Compare July 8, 2022 09:28
@wipawel wipawel enabled auto-merge (rebase) July 8, 2022 09:29
@wipawel wipawel force-pushed the cpu_abstraction branch from 79ff1cf to 51c8b97 Compare July 8, 2022 09:29
@wipawel wipawel force-pushed the cpu_abstraction branch from 51c8b97 to c2e042e Compare July 8, 2022 09:34
@wipawel wipawel force-pushed the cpu_abstraction branch from c2e042e to 993457d Compare July 8, 2022 09:38
@wipawel wipawel disabled auto-merge July 16, 2022 09:53
@wipawel wipawel merged commit 3f4d53d into KernelTestFramework:mainline Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devel Development effort improvement A small enhancement, that makes already implemented features better Priority: 2 Very important feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant