All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Alessio Igor Bogani <abogani@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Avi Kivity <avi@redhat.com>, Chris Metcalf <cmetcalf@tilera.com>,
	Christoph Lameter <cl@linux.com>,
	Geoff Levand <geoff@infradead.org>,
	Gilad Ben Yossef <gilad@benyossef.com>,
	Hakan Akkan <hakanakkan@gmail.com>,
	"H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@kernel.org>,
	Josh Triplett <josh@joshtriplett.org>,
	Kevin Hilman <khilman@ti.com>,
	Max Krasnyansky <maxk@qualcomm.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Stephen Hemminger <shemminger@vyatta.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Sven-Thorsten Dietrich <thebigcorporation@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [RFC PATCH 00/11] rcu: Userspace RCU extended quiescent state v2
Date: Mon, 16 Jul 2012 15:15:56 -0700	[thread overview]
Message-ID: <20120716221556.GH2403@linux.vnet.ibm.com> (raw)
In-Reply-To: <1342031200-22731-1-git-send-email-fweisbec@gmail.com>

On Wed, Jul 11, 2012 at 08:26:29PM +0200, Frederic Weisbecker wrote:
> Hi,
> 
> There are significant changes this time. I reverted back to using
> a TIF flag to hook on syscalls slow path and put the hooks on
> high level exception handlers instead of low level ones.
> 
> It makes the code more portable between x86-32 and x86-64, it
> makes the hooks clearer and easier to review and the overhead
> is lowered in the off-case. This can be even better if we use
> jump labels later.

Thank you, Frederic, I have queued these:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/idle

I had to rework patch 4 a bit to take into account that I dropped the
rcu_switch_from() patch, please check it to make sure that I didn't
rework it out of existence.

							Thanx, Paul

> Thanks.
> 
> git://github.com/fweisbec/linux-dynticks.git
> 	rcu/user-2
> 
> Frederic Weisbecker (11):
>   rcu: Settle config for userspace extended quiescent state
>   rcu: Allow rcu_user_enter()/exit() to nest
>   rcu: Ignore userspace extended quiescent state by default
>   rcu: Switch task's syscall hooks on context switch
>   x86: Syscall hooks for userspace RCU extended QS
>   x86: Exception hooks for userspace RCU extended QS
>   rcu: Exit RCU extended QS on kernel preemption after irq/exception
>   rcu: Exit RCU extended QS on user preemption
>   x86: Use the new schedule_user API on userspace preemption
>   x86: Exit RCU extended QS on notify resume
>   rcu: Userspace RCU extended QS selftest
> 
>  arch/Kconfig                       |   10 ++++++
>  arch/um/drivers/mconsole_kern.c    |    2 +-
>  arch/x86/Kconfig                   |    1 +
>  arch/x86/include/asm/rcu.h         |   20 +++++++++++
>  arch/x86/include/asm/thread_info.h |   10 ++++--
>  arch/x86/kernel/entry_64.S         |    8 ++--
>  arch/x86/kernel/ptrace.c           |    5 +++
>  arch/x86/kernel/signal.c           |    4 ++
>  arch/x86/kernel/traps.c            |   30 ++++++++++++----
>  arch/x86/mm/fault.c                |   13 ++++++-
>  include/linux/rcupdate.h           |   10 ++++++
>  include/linux/sched.h              |   20 ++++++-----
>  init/Kconfig                       |   18 ++++++++++
>  kernel/rcutree.c                   |   64 +++++++++++++++++++++++++++++++-----
>  kernel/rcutree.h                   |    4 ++
>  kernel/sched/core.c                |   10 +++++-
>  16 files changed, 192 insertions(+), 37 deletions(-)
>  create mode 100644 arch/x86/include/asm/rcu.h
> 
> -- 
> 1.7.5.4
> 


  parent reply	other threads:[~2012-07-16 22:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 18:26 [RFC PATCH 00/11] rcu: Userspace RCU extended quiescent state v2 Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 01/11] rcu: Settle config for userspace extended quiescent state Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 02/11] rcu: Allow rcu_user_enter()/exit() to nest Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 03/11] rcu: Ignore userspace extended quiescent state by default Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 04/11] rcu: Switch task's syscall hooks on context switch Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 05/11] x86: Syscall hooks for userspace RCU extended QS Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 06/11] x86: Exception " Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 07/11] rcu: Exit RCU extended QS on kernel preemption after irq/exception Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 08/11] rcu: Exit RCU extended QS on user preemption Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 09/11] x86: Use the new schedule_user API on userspace preemption Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 10/11] x86: Exit RCU extended QS on notify resume Frederic Weisbecker
2012-07-11 18:26 ` [PATCH 11/11] rcu: Userspace RCU extended QS selftest Frederic Weisbecker
2012-07-16 22:15 ` Paul E. McKenney [this message]
2012-07-16 22:57   ` [RFC PATCH 00/11] rcu: Userspace RCU extended quiescent state v2 Frederic Weisbecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120716221556.GH2403@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=abogani@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=avi@redhat.com \
    --cc=cl@linux.com \
    --cc=cmetcalf@tilera.com \
    --cc=fweisbec@gmail.com \
    --cc=geoff@infradead.org \
    --cc=gilad@benyossef.com \
    --cc=hakanakkan@gmail.com \
    --cc=hpa@zytor.com \
    --cc=josh@joshtriplett.org \
    --cc=khilman@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxk@qualcomm.com \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=shemminger@vyatta.com \
    --cc=tglx@linutronix.de \
    --cc=thebigcorporation@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.