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
F134636788: D35052.diff
Mon, Nov 3, 6:45 PM
Unknown Object (File)
Sat, Nov 1, 11:29 PM
Unknown Object (File)
Sat, Nov 1, 4:33 AM
Unknown Object (File)
Wed, Oct 29, 10:34 PM
Unknown Object (File)
Wed, Oct 29, 2:42 PM
Unknown Object (File)
Tue, Oct 28, 4:48 AM
Unknown Object (File)
Mon, Oct 27, 5:41 AM
Unknown Object (File)
Fri, Oct 17, 11:23 AM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45352
Build 42240: arc lint + arc unit

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