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, Mar 18, 8:03 AM
Unknown Object (File)
Feb 28 2025, 6:08 PM
Unknown Object (File)
Feb 21 2025, 11:34 AM
Unknown Object (File)
Feb 3 2025, 12:07 PM
Unknown Object (File)
Feb 1 2025, 5:01 PM
Unknown Object (File)
Jan 24 2025, 11:37 AM
Unknown Object (File)
Jan 24 2025, 11:13 AM
Unknown Object (File)
Jan 24 2025, 7:27 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
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