On Sun, 23 Feb 2025 14:53:28 -0500
Waiman Long <llong@xxxxxxxxxx> wrote:
If this isn't supported by PREEMPT_RT (yet), then just make theI think the easiest way forward is to change it to "#if+
+#ifdef CONFIG_DETECT_HUNG_TASK_BLOCKER
+static void debug_show_blocker(struct task_struct *task)
defined(CONFIG_DETECT_HUNG_TASK_BLOCKER) && !defined(CONFIG_PREEMPT_RT)"
to skip this feature for PREEMPT_RT right now . Otherwise, you will have
to deal with the rtmutex code.
DETECT_HUNG_TASK_BLOCKER in the Kconfig be:
Depends on !PREEMPT_RT
Don't put that dependency in the code.