Page MenuHomeFreeBSD

linuxkpi: Introduce tasklet_disable_nosync()
ClosedPublic

Authored by nc on Apr 28 2021, 11:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 1:04 AM
Unknown Object (File)
Wed, Oct 1, 12:27 PM
Unknown Object (File)
Tue, Sep 30, 4:52 AM
Unknown Object (File)
Sun, Sep 28, 11:33 PM
Unknown Object (File)
Fri, Sep 26, 2:00 PM
Unknown Object (File)
Mon, Sep 22, 12:31 AM
Unknown Object (File)
Sep 6 2025, 8:29 AM
Unknown Object (File)
Aug 21 2025, 5:28 AM

Diff Detail

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

Event Timeline

nc requested review of this revision.Apr 28 2021, 11:41 AM
sys/compat/linuxkpi/common/include/linux/interrupt.h
205

Implement this as a regular external function, see tasklet_disable() below.

This avoids header file pollution, that you need to depend on including atomic.h .

Fix compilation issues.

sys/compat/linuxkpi/common/src/linux_tasklet.c
65

No need for this define. Just inline it.

Forgot to push my changes, sorry.

This revision is now accepted and ready to land.Apr 28 2021, 2:35 PM
sys/compat/linuxkpi/common/src/linux_tasklet.c
36

I think this include is not needed.

Thanks for pointing out. Here's an updated diff.

This revision now requires review to proceed.Apr 28 2021, 2:58 PM
This revision is now accepted and ready to land.Apr 28 2021, 2:59 PM
This revision was automatically updated to reflect the committed changes.