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)
Wed, Feb 11, 12:09 AM
Unknown Object (File)
Tue, Feb 10, 9:54 PM
Unknown Object (File)
Sun, Feb 8, 8:13 AM
Unknown Object (File)
Sun, Feb 8, 1:03 AM
Unknown Object (File)
Sat, Jan 31, 3:04 AM
Unknown Object (File)
Jan 16 2026, 11:41 PM
Unknown Object (File)
Jan 1 2026, 7:47 AM
Unknown Object (File)
Dec 19 2025, 3:35 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

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.