aboutsummaryrefslogtreecommitdiff
path: root/contrib/kyua/engine/execenv/execenv.hpp
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2026-10-28 15:02:00 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2026-11-04 06:35:19 +0000
commitf739d9f46c24da39651ae981a549a55eb2a3d006 (patch)
treeeb5a74747ea945f82b01cc79567b2fea513e7146 /contrib/kyua/engine/execenv/execenv.hpp
parentc15aab01e9ea281f5fb071866619d9e664667672 (diff)
linuxkpi: Do not wait for a disabled tasklet in tasklet_unlock_wait()HEADmain
tasklet_unlock_wait() waited for the tasklet state to become idle. Linux only waits for TASKLET_STATE_RUN, i.e. for a tasklet that is currently executing. A tasklet which is scheduled but disabled does not run until it is enabled again, so in LinuxKPI it stays in the BUSY (queued) state and the waiter never returns. This is what happens when unloading i915: execlists_reset_prepare() disables the engine tasklet with __tasklet_disable_sync_once() while the tasklet is queued and kldunload loops forever in pause(). Do not wait if the tasklet is only queued and disabled. Reviewed by: bz Sponsored by: Beckhoff Automation GmbH & Co. KG
Diffstat (limited to 'contrib/kyua/engine/execenv/execenv.hpp')
0 files changed, 0 insertions, 0 deletions