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)
Feb 18 2024, 10:48 AM
Unknown Object (File)
Dec 23 2023, 3:39 PM
Unknown Object (File)
Dec 23 2023, 10:24 AM
Unknown Object (File)
Oct 30 2023, 8:25 PM
Unknown Object (File)
Sep 7 2023, 8:21 PM
Unknown Object (File)
Sep 7 2023, 9:40 AM
Unknown Object (File)
Aug 8 2023, 7:17 PM
Unknown Object (File)
Aug 8 2023, 7:17 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