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)
Tue, Apr 21, 6:03 AM
Unknown Object (File)
Wed, Apr 15, 12:19 AM
Unknown Object (File)
Tue, Apr 14, 1:14 PM
Unknown Object (File)
Sun, Apr 12, 12:16 AM
Unknown Object (File)
Thu, Apr 9, 6:22 PM
Unknown Object (File)
Wed, Apr 8, 6:25 PM
Unknown Object (File)
Wed, Apr 8, 3:08 PM
Unknown Object (File)
Mon, Mar 30, 7:45 PM

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38907
Build 35796: arc lint + arc unit

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
66

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.