[Intel-wired-lan] [PATCH iwl-net v2] ice: Schedule service task in IRQ thread_fn
Michal Schmidt
mschmidt at redhat.com
Wed May 10 12:27:04 UTC 2023
On Tue, May 9, 2023 at 5:08 PM Yochai Hagvi <yochai.hagvi at intel.com> wrote:
> On some RT kernels (E.g.: MontaVista),
That's not really relevant for the upstream kernel, is it?
> 3.10.0-1160.11.1.rt56.1145.mvista.test.6.el7.x86_64 #1
Can you show the bugs exists in the current upstream kernel?
> Call Trace:
> dump_stack+0x19/0x1b
> __schedule_bug+0x64/0x72
> __schedule+0x77b/0x920
> ? check_preempt_wakeup+0x146/0x220
> schedule+0x30/0xa0
> rt_spin_lock_slowlock_locked+0xf5/0x2d0
> rt_spin_lock_slowlock+0x57/0x90
> rt_spin_lock+0x25/0x30
> __queue_work+0xcf/0x440
> queue_work_on+0xfe/0x110
> ice_service_task_schedule+0x5c/0x60 [ice]
In the current upstream kernel, I can see __queue_work uses
raw_spin_lock, so I don't expect it to sleep on PREEMPT_RT.
Michal
More information about the Intel-wired-lan
mailing list