Re: [PATCH] cpu_pm: replace raw_notifier to atomic_notifier

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

 




On 07/07/2017 06:25 PM, Sebastian Andrzej Siewior wrote:
> On 2017-07-06 16:47:46 [+0800], Alex Shi wrote:
>> This patch replace a rwlock and raw notifier by atomic notifier which
> + is 
>> protected by spin_lock and rcu.
> …
>> Sebastian suggested using atomic_notifier instead of rwlock, which is not
>> only removing the sleeping in idle, but also getting better latency
>> improvement.
> 
> Did you measure this / have numbers or did you write this because this
> is what RCU does in general?

Uh, I have no number on the performance. The benefit is in the theory.
https://lwn.net/Articles/263130/
But above article give some comparison data of rwlock and RCU.

> 
> Acked-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
> 

Thanks a lot!

Regards
Alex
--
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