Page MenuHomeFreeBSD

linuxkpi: Add spin_trylock_irqsave() macro
ClosedPublic

Authored by nc on Jun 9 2021, 6:19 PM.
Tags
None
Referenced Files
F149526767: D30706.id.diff
Wed, Mar 25, 12:59 AM
F149462988: D30706.id.diff
Tue, Mar 24, 3:32 PM
Unknown Object (File)
Mon, Mar 23, 1:04 PM
Unknown Object (File)
Mon, Mar 16, 9:53 AM
Unknown Object (File)
Sat, Mar 14, 10:54 PM
Unknown Object (File)
Thu, Mar 5, 5:31 AM
Unknown Object (File)
Tue, Mar 3, 10:41 PM
Unknown Object (File)
Feb 11 2026, 12:09 AM

Diff Detail

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

Event Timeline

nc requested review of this revision.Jun 9 2021, 6:19 PM

Please explain what it does and why it's needed.

On Linux, spin_trylock_irqsave() is used when you want to save the IRQ before doing a trylock, however we aren't doing this as we do in spin_trylock_irq(). This is called in the i915 part of the drm-kmod 5.7 update.

This revision is now accepted and ready to land.Jul 15 2021, 7:44 AM
This revision was automatically updated to reflect the committed changes.