Page MenuHomeFreeBSD

LinuxKPI: Switch irq_work implementation back to standard taskqueue
ClosedPublic

Authored by wulf on Apr 24 2022, 11:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 21, 10:16 PM
Unknown Object (File)
Fri, Jan 17, 2:47 PM
Unknown Object (File)
Dec 4 2024, 8:55 PM
Unknown Object (File)
Oct 25 2024, 2:37 AM
Unknown Object (File)
Oct 18 2024, 6:12 AM
Unknown Object (File)
Oct 9 2024, 12:05 PM
Unknown Object (File)
Oct 5 2024, 10:37 AM
Unknown Object (File)
Oct 4 2024, 11:28 PM

Details

Summary

from fast one as dmabuf does not run callbacks from critical sections
since drm-kmod 5.7.
Consumers which requires fair irq_work like drm-kmod 5.4 must #define
LKPI_IRQ_WORK_USE_FAST_TQ somewhere in source file before linux/irq_work.h
inclusion to enable old behavior.

While here include linux/llist.h to get struct llist_node definition
and add TQFLG_FAILIF_PENDING flag to taskqueue_enqueue to match Linux.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Apr 24 2022, 11:42 PM

Chase for taskqueue_enqueue flag name change

TQFLG_FAILIF_PENDING -> TASKQUEUE_FAIL_IF_PENDING