Repository navigation
Skip unwritable IRQs instead of failing - #280
Merged
Merged
Conversation
Member
|
I confirm that I have a bunch of IRQ which cannot be written on Fedora 45 with the Linux kernel 7.3 (7.3.4-300.fc45.x86_64): |
Member
|
I tested with 2 isolated CPUs (on 12 logical CPUs in total): Without this change, I confirm that only IRQ 1 is modified, the code stops at IRQ 2 since it hits a permission error. With this change, the SMP mask is set on all IRQs successfully: |
vstinner
approved these changes
Nov 24, 2026
Member
|
Merged. Thanks for the fix! I saw that error before, but I never paid much attention to it. |
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since Linux 6.12, some IRQs are read-only, i.e., they can't be moved from CPU to CPU. When pyperf encounters these, it fails (
EPERM), when I think they should simply be ignored. (On my laptop, these IRQs correspond to my NVMe drive.) This has been true since 2024 (LKML).I can imagine giving a warning of some kind, but it's not an actionable warning... so probably not worth it.
(Hopefully my last PR today... my laptop is somehow not a configuration pyperf expects!)