lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170707102527.bg7ktbkazxl3qpqt@linutronix.de>
Date:   Fri, 7 Jul 2017 12:25:28 +0200
From:   Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To:     Alex Shi <alex.shi@...aro.org>
Cc:     open list <linux-kernel@...r.kernel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Anders Roxell <anders.roxell@...aro.org>,
        Rik van Riel <riel@...hat.com>,
        Steven Rostedt <rostedt@...dmis.org>,
        "Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
        Daniel Lezcano <daniel.lezcano@...aro.org>,
        linux-rt-users <linux-rt-users@...r.kernel.org>
Subject: Re: [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@...utronix.de>

Sebastian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ