Skip to content

scx_rustland_core: Expose numa_preferred_nid to user-space#3490

Open
EricccTaiwan wants to merge 1 commit into
sched-ext:mainfrom
cce-underdogs:rustland-followup
Open

scx_rustland_core: Expose numa_preferred_nid to user-space#3490
EricccTaiwan wants to merge 1 commit into
sched-ext:mainfrom
cce-underdogs:rustland-followup

Conversation

@EricccTaiwan

Copy link
Copy Markdown
Collaborator

Expose p->numa_preferred_nid to the user-space scheduler and then pass the node id to BpfScheduler::select_cpu(), in this way the user-space part has more control on the node selection.

Suggested-by: Andrea Righi arighi@nvidia.com

Follow up #3381

@EricccTaiwan EricccTaiwan changed the title scx_rustland: Expose numa_preferred_nid to user-space scx_rustland_core: Expose numa_preferred_nid to user-space Mar 30, 2026
Expose p->numa_preferred_nid to the user-space scheduler and then pass
the node id to BpfScheduler::select_cpu(), in this way the user-space
part has more control on the node selection.

Suggested-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
@EricccTaiwan

Copy link
Copy Markdown
Collaborator Author

@arighi PTAL, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant