Protection of critical section in PREEMPT_RT

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

 



Hello all,

It is my first time to use PREEMPT_RT patch. I have a kernel driver
needed to do a indirect register access to a hardware interface. In
past, I use spinlock to protect those code. After turning on
PREEMPT_RT, the driver doesn't work anymore.

I know spinlock is now preemptible, but how can I protect a "really"
critical section in PREEMPT_RT? If it is a bad design, could give me
some tutorial/readings on how to modify my driver?

Thanks very much.

Yours,
Jacky
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux