[PATCH v3] rcu/cpu_stall_cputime: fix the hardirq count for x86 architecture

2025-02-16 Thread Yongliang Gao
From: Yongliang Gao When counting the number of hardirqs in the x86 architecture, it is essential to add arch_irq_stat_cpu to ensure accuracy. For example, a CPU loop within the rcu_read_lock function. Before: [ 70.910184] rcu: INFO: rcu_preempt self-detected stall on CPU [ 70.910436] rcu

[PATCH v2] rcu/cpu_stall_cputime: fix the hardirq count for x86 architecture

2025-01-08 Thread Yongliang Gao
From: Yongliang Gao When counting the number of hardirqs in the x86 architecture, it is essential to add arch_irq_stat_cpu to ensure accuracy. For example, a CPU loop within the rcu_read_lock function. Before: [ 70.910184] rcu: INFO: rcu_preempt self-detected stall on CPU [ 70.910436] rcu

[PATCH] rcu/cpu_stall_cputime: fix the hardirq count for x86 architecture

2025-01-07 Thread Yongliang Gao
From: Yongliang Gao When counting the number of hardirqs in the x86 architecture, it is essential to add arch_irq_stat_cpu to ensure accuracy. For example, a CPU loop within the rcu_read_lock function. Before: [ 70.910184] rcu: INFO: rcu_preempt self-detected stall on CPU [ 70.910436] rcu

[PATCH] arm: fix using smp_processor_id() in preemptible context

2019-05-27 Thread Yongliang Gao
[] (check_preemption_disabled+0xf4/0x138) [] (check_preemption_disabled) from [] (__do_user_fault+0x34/0x114) [] (__do_user_fault) from [] (do_page_fault+0x3b4/0x3d8) [] (do_page_fault) from [] (do_DataAbort+0x58/0xf8) [] (do_DataAbort) from [] (__dabt_usr+0x40/0x60) Reported-by: Jingwen Qiu Signed-off-by: Yongliang