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]
Date:	Wed, 29 Oct 2014 13:52:03 -0400
From:	Pranith Kumar <bobby.prani@...il.com>
To:	Paul McKenney <paulmck@...ux.vnet.ibm.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Ingo Molnar <mingo@...nel.org>,
	Lai Jiangshan <laijs@...fujitsu.com>,
	Dipankar Sarma <dipankar@...ibm.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
	Josh Triplett <josh@...htriplett.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Steven Rostedt <rostedt@...dmis.org>,
	David Howells <dhowells@...hat.com>,
	Eric Dumazet <edumazet@...gle.com>, dvhart@...ux.intel.com,
	Frédéric Weisbecker <fweisbec@...il.com>,
	Oleg Nesterov <oleg@...hat.com>
Subject: Re: [PATCH tip/core/rcu 0/9] Per-CPU-variable updates

On Tue, Oct 28, 2014 at 5:51 PM, Paul E. McKenney
<paulmck@...ux.vnet.ibm.com> wrote:
> Hello!
>
> This series updates RCU's handling of per-CPU variables, mostly
> moving from "cpu" function arguments to various "this_"-style accessors
> for per-CPU variables:
>
> 1.      Drop the rdtp argument from RCU's dyntick-idle and sysidle
>         functions, substituting this_cpu_ptr(), courtesy of Christoph
>         Lameter.
>
> 2.      Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data structures in
>         order to avoid false sharing with other per-CPU variables.
>
> 3-9.    Remove "cpu" arguments from a number of RCU functions that are
>         only ever invoked on that CPU, and use appropriate "this_"-style
>         accesssors for the per-CPU variables.
>

Reviewd-by: Pranith Kumar <bobby.prani@...il.com>


>                                                         Thanx, Paul
>
> ------------------------------------------------------------------------
>
>  b/include/linux/rcupdate.h |    2 +-
>  b/include/linux/rcutiny.h  |    2 +-
>  b/include/linux/rcutree.h  |    4 ++--
>  b/kernel/cpu.c             |   19 +++++++++++++------
>  b/kernel/rcu/tiny.c        |    2 +-
>  b/kernel/rcu/tree.c        |   25 +++++++++++++------------
>  b/kernel/rcu/tree.h        |    4 ++--
>  b/kernel/rcu/tree_plugin.h |   11 +++++++----
>  b/kernel/sched/core.c      |    2 +-
>  b/kernel/softirq.c         |    2 +-
>  b/kernel/time/tick-sched.c |    2 +-
>  b/kernel/time/timer.c      |    3 +--
>  include/linux/rcupdate.h   |    2 +-
>  include/linux/rcutree.h    |    2 +-
>  kernel/rcu/tree.c          |   30 +++++++++++++++---------------
>  kernel/rcu/tree.h          |    8 ++++----
>  kernel/rcu/tree_plugin.h   |   42 +++++++++++++++++++++---------------------
>  17 files changed, 86 insertions(+), 76 deletions(-)
>



-- 
Pranith
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ