#
014f6938 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Work around busted kthread_join.
|
#
69221f93 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Fix error return for kthread_run: error pointer, not null.
|
#
30d3e3c2 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Take advantage of kthread interlock to reduce diff.
|
#
1f420662 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Rework Linux `kthread' abstraction to avoid race to sleep.
Requires passing in the caller's lock and condvar to kthread_run, but for the one user that appears not to be an onerous requirement.
|
#
52541e76 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Trigger `spurious' wakeup for kthread_stop too.
|
#
9dfeae65 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
linux: In kthread_park, wake thread to re-check kthread_shouldpark.
Otherwise, the thread to pakr may be sleeping on some condvar not noticing it has to notify kthread_park --> deadlock.
|
#
d59ebc27 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
linux: Make kthread_park/stop work at IPL_VM.
Needed in order to hold spin locks around it.
|
#
f1b3bf61 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
linux: Paranoia: Don't read kt_shouldstop unlocked.
|
#
f576a286 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: linux kthread stubs
|