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

perf: do not add offline CPUs #1510

Merged
merged 1 commit into from
Jul 15, 2024
Merged

perf: do not add offline CPUs #1510

merged 1 commit into from
Jul 15, 2024

Conversation

florianl
Copy link
Contributor

Adding nil to rings and eventFds for offline CPUs can cause issues when iterating over these elements.
Therefore skip adding to rings and eventFds if the CPU is offline at the time of initalization.

@florianl florianl requested a review from lmb July 10, 2024 15:49
Copy link
Collaborator

@lmb lmb left a comment

Choose a reason for hiding this comment

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

Would you mind squashing?

Adding nil to rings and eventFds for offline CPUs can cause issues when
iterating over these elements.
Therefore skip adding to rings and eventFds if the CPU is offline at the
time of initalization.

Signed-off-by: Florian Lehner <dev@der-flo.net>
@florianl
Copy link
Contributor Author

✅ squashed the commits

@lmb lmb merged commit fbb9ed8 into main Jul 15, 2024
17 checks passed
@lmb lmb deleted the perf-drop-nil branch July 15, 2024 14:25
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