Repository navigation
Conversation
jerpelea
previously approved these changes
Nov 25, 2026
Fix-Point
force-pushed
the
nuttx-apps-critmon-irqdis
branch
from
November 25, 2026 08:33
a6f6bcb to
3e0e839
Compare
Modify the statistical time of the critical section entered to the statistical time of irq disabled. Pick-adapted: the app tree had drifted from the reference form, so the changed lines were merged onto the current file (option rename, maxirqdis variable and the IRQ-DISABLE report header column). Assisted-By: mimo-v2.6-pro Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com>
Fix-Point
force-pushed
the
nuttx-apps-critmon-irqdis
branch
from
November 25, 2026 08:51
3e0e839 to
d3633c5
Compare
GUIDINGLI
approved these changes
Nov 25, 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.
Summary
The kernel renamed
CONFIG_SCHED_CRITMONITOR_MAXTIME_CSECTIONtoCONFIG_SCHED_CRITMONITOR_MAXTIME_IRQDISABLEwhen it extended the interrupt-disabled monitoring to spinlocks. The critmon application still tested the old name, which breaks the kernel build with-Werror=undefon configurations where the old name is not defined (e.g. arm64), and reads a report column the kernel no longer prints because the option defaults to -1.Rename the option, the
maxcritvariable and the report header column (CSECTION CALLER→IRQ-DISABLE CALLER) insystem/critmon/critmon.cto match the kernel.Impact
critmonnow reads the IRQ-disabled column and no longer breaks builds where the old option name is undefined.CONFIG_*change; only the application source.Testing
Build Host: Linux x86_64
Boards/Configurations:
qemu-armv7a:smpwithCONFIG_SYSTEM_CRITMONITOR=y,CONFIG_SCHED_CRITMONITOR=y(part of the kernel spinlock PR series)Verification:
tools/checkpatch.shgreen.-Werror=undefon arm64).Depends-On: apache/nuttx#22215