Re: [PATCH RFC -rt] updated synchronize_all_irqs implementation

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

 



--
On Thu, 27 Sep 2007, Dmitry Torokhov wrote:
> >
> > Here are the uses in 2.6.23-rc6.  There are several that might not
> > be so easy to replace with RCU.
> >
>
> I will look into converting into "proper RCU" but I'd like you to
> consider one more thing - proper RCU disables preemption, correct? So
> it seems that converting code to "proper RCU" to some degree negates
> the benefits of sleeping spinlocks introduced in -rt. If there was a
> way to create synchronize_irq_spinlocks() that is separate from RCU
> and could be preempted that would give the best of the 2 worlds.
>

Not at all. In -rt, we then use preemptible RCU. So read_rcu_lock does not
disable preemption in the -rt kernel (and hopefully soon in mainline as
well - configured not to that is).

-- Steve

-
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