Page MenuHomeFreeBSD

linuxkpi: Add spin_trylock_irqsave() macro
ClosedPublic

Authored by nc on Jun 9 2021, 6:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 22, 2:32 AM
Unknown Object (File)
Fri, Feb 21, 2:02 PM
Unknown Object (File)
Mon, Feb 3, 12:38 PM
Unknown Object (File)
Jan 31 2025, 10:34 PM
Unknown Object (File)
Jan 24 2025, 1:20 PM
Unknown Object (File)
Jan 24 2025, 8:29 AM
Unknown Object (File)
Jan 18 2025, 12:25 AM
Unknown Object (File)
Dec 31 2024, 2:31 PM

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.