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

add support for exec cpu affinity #1607

Merged
merged 8 commits into from
Nov 26, 2024
Merged

Conversation

giuseppe
Copy link
Member

@giuseppe giuseppe commented Nov 22, 2024

@giuseppe giuseppe force-pushed the exec-affinity branch 4 times, most recently from e4cbc13 to d63c20a Compare November 25, 2024 08:42
Signed-off-by: Giuseppe Scrivano <[email protected]>
the cpu mask is configured on the systemd scope, so there is no time
when the process joins the cgroup and runs on unexpected cpus

Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
Signed-off-by: Giuseppe Scrivano <[email protected]>
and set it only when there is no exec cpu affinity mask specified.

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe giuseppe changed the title [WIP] add support for exec cpu affinity add support for exec cpu affinity Nov 25, 2024
@giuseppe giuseppe marked this pull request as ready for review November 26, 2024 14:29
@giuseppe
Copy link
Member Author

@kolyshkin @rhatdan @flouthoc PTAL

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rhatdan
Copy link
Member

rhatdan commented Nov 26, 2024

LGTM

@rhatdan rhatdan merged commit 52ed588 into containers:main Nov 26, 2024
57 checks passed
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.

3 participants