lkml.org 
[lkml]   [2017]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cpu_pm: replace raw_notifier to atomic_notifier
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?

Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Sebastian

\
 
 \ /
  Last update: 2017-07-07 12:26    [W:0.061 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site