Replace raw_spin_lock_irqsave with raw_spin_lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Mika!

There is an interesting discussion [1] going on about necessity of the
_irqsave/_irqrestore variants of spin lock in the IRQ handler.

It appears that in our driver(s) we have also such variants of spin locks in
use. Do you have any idea why is it so?

A bonus question, why do we use _NO_THREAD flag explicitly as per Thomas [2]
this won't work well with RT kernels?

[1]: https://lore.kernel.org/linux-gpio/1612774577-55943-1-git-send-email-luojiaxing@xxxxxxxxxx/T/#u
[2]: https://lore.kernel.org/linux-i2c/87zh2s8buh.fsf@xxxxxxxxxxxxxxxxxxxxxxx/

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux