Page MenuHomeFreeBSD

linuxkpi: Add spin_trylock_irqsave() macro
ClosedPublic

Authored by nc on Jun 9 2021, 6:19 PM.
Tags
None
Referenced Files
F132500939: D30706.id.diff
Fri, Oct 17, 10:49 AM
F132500937: D30706.id90649.diff
Fri, Oct 17, 10:49 AM
F132500934: D30706.id92228.diff
Fri, Oct 17, 10:49 AM
Unknown Object (File)
Fri, Oct 17, 7:46 AM
Unknown Object (File)
Fri, Oct 17, 1:22 AM
Unknown Object (File)
Sat, Sep 27, 7:58 AM
Unknown Object (File)
Sun, Sep 21, 9:29 PM
Unknown Object (File)
Sep 17 2025, 4:33 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.