public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] nohz: Move nohz kick out of scheduler IPI, v9
@ 2014-06-16 16:23 Frederic Weisbecker
  2014-06-18 16:48 ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Frederic Weisbecker @ 2014-06-16 16:23 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: LKML, Frederic Weisbecker, Peter Zijlstra, Andrew Morton,
	Kevin Hilman, Paul E. McKenney, Thomas Gleixner, Viresh Kumar,
	Eric Dumazet

Ingo,

Please pull the timers/nohz-irq-work-v7 branch that can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
	timers/nohz-irq-work-v7

It has been acked by Peterz.

--- Summary ---

This set moves the nohz kick, used to notify a full dynticks CPU when
events require tick rescheduling, out of the scheduler tick to a
dedicated IPI.

This debloats a bit the scheduler IPI from off-topic work that was
abusing that scheduler fast path for its convenient asynchronous
properties. Now the nohz kick uses irq work for its own needs.

Of course this implied quite some background infrastructure rework,
including:

* Clean up some irq work internals
* Implement remote irq work
* Implement nohz kick on top of remote irq work
* Move full dynticks timer enqueue notification to new kick
* Move multi-task notification to new kick
* Remove unecessary barriers on multi-task notification

Thanks,
	Frederic
---

Frederic Weisbecker (6):
      irq_work: Split raised and lazy lists
      irq_work: Implement remote queueing
      nohz: Support nohz full remote kick
      nohz: Switch to nohz full remote kick on timer enqueue
      nohz: Use nohz own full kick on 2nd task enqueue
      nohz: Use IPI implicit full barrier against rq->nr_running r/w


 include/linux/irq_work.h |  5 ++++
 include/linux/tick.h     |  9 +++++-
 kernel/irq_work.c        | 76 ++++++++++++++++++++++++++++++------------------
 kernel/sched/core.c      | 22 ++++++++------
 kernel/sched/sched.h     | 12 ++++++--
 kernel/smp.c             |  9 ++++++
 kernel/time/tick-sched.c | 10 ++++---
 7 files changed, 97 insertions(+), 46 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] nohz: Move nohz kick out of scheduler IPI, v9
  2014-06-16 16:23 [GIT PULL] nohz: Move nohz kick out of scheduler IPI, v9 Frederic Weisbecker
@ 2014-06-18 16:48 ` Ingo Molnar
  2014-06-23 12:53   ` Peter Zijlstra
  0 siblings, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2014-06-18 16:48 UTC (permalink / raw)
  To: Frederic Weisbecker
  Cc: LKML, Peter Zijlstra, Andrew Morton, Kevin Hilman,
	Paul E. McKenney, Thomas Gleixner, Viresh Kumar, Eric Dumazet


* Frederic Weisbecker <fweisbec@gmail.com> wrote:

> Ingo,
> 
> Please pull the timers/nohz-irq-work-v7 branch that can be found at:
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
> 	timers/nohz-irq-work-v7
> 
> It has been acked by Peterz.
> 
> --- Summary ---
> 
> This set moves the nohz kick, used to notify a full dynticks CPU when
> events require tick rescheduling, out of the scheduler tick to a
> dedicated IPI.
> 
> This debloats a bit the scheduler IPI from off-topic work that was
> abusing that scheduler fast path for its convenient asynchronous
> properties. Now the nohz kick uses irq work for its own needs.
> 
> Of course this implied quite some background infrastructure rework,
> including:
> 
> * Clean up some irq work internals
> * Implement remote irq work
> * Implement nohz kick on top of remote irq work
> * Move full dynticks timer enqueue notification to new kick
> * Move multi-task notification to new kick
> * Remove unecessary barriers on multi-task notification
> 
> Thanks,
> 	Frederic
> ---
> 
> Frederic Weisbecker (6):
>       irq_work: Split raised and lazy lists
>       irq_work: Implement remote queueing
>       nohz: Support nohz full remote kick
>       nohz: Switch to nohz full remote kick on timer enqueue
>       nohz: Use nohz own full kick on 2nd task enqueue
>       nohz: Use IPI implicit full barrier against rq->nr_running r/w
> 
> 
>  include/linux/irq_work.h |  5 ++++
>  include/linux/tick.h     |  9 +++++-
>  kernel/irq_work.c        | 76 ++++++++++++++++++++++++++++++------------------
>  kernel/sched/core.c      | 22 ++++++++------
>  kernel/sched/sched.h     | 12 ++++++--
>  kernel/smp.c             |  9 ++++++
>  kernel/time/tick-sched.c | 10 ++++---
>  7 files changed, 97 insertions(+), 46 deletions(-)

Pulled, thanks a lot Frederic!

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] nohz: Move nohz kick out of scheduler IPI, v9
  2014-06-18 16:48 ` Ingo Molnar
@ 2014-06-23 12:53   ` Peter Zijlstra
  2014-06-25  5:51     ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Zijlstra @ 2014-06-23 12:53 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Frederic Weisbecker, LKML, Andrew Morton, Kevin Hilman,
	Paul E. McKenney, Thomas Gleixner, Viresh Kumar, Eric Dumazet

On Wed, Jun 18, 2014 at 06:48:41PM +0200, Ingo Molnar wrote:
> 
> * Frederic Weisbecker <fweisbec@gmail.com> wrote:
> > Please pull the timers/nohz-irq-work-v7 branch that can be found at:
> > 
> 
> Pulled, thanks a lot Frederic!

Ingo, the previous version had one of your machines fall over, is that
machine good now?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] nohz: Move nohz kick out of scheduler IPI, v9
  2014-06-23 12:53   ` Peter Zijlstra
@ 2014-06-25  5:51     ` Ingo Molnar
  0 siblings, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2014-06-25  5:51 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Frederic Weisbecker, LKML, Andrew Morton, Kevin Hilman,
	Paul E. McKenney, Thomas Gleixner, Viresh Kumar, Eric Dumazet


* Peter Zijlstra <peterz@infradead.org> wrote:

> On Wed, Jun 18, 2014 at 06:48:41PM +0200, Ingo Molnar wrote:
> > 
> > * Frederic Weisbecker <fweisbec@gmail.com> wrote:
> > > Please pull the timers/nohz-irq-work-v7 branch that can be found at:
> > > 
> > 
> > Pulled, thanks a lot Frederic!
> 
> Ingo, the previous version had one of your machines fall over, is that
> machine good now?

It appears so. Will let you know if it still goes bad.

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-25  5:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 16:23 [GIT PULL] nohz: Move nohz kick out of scheduler IPI, v9 Frederic Weisbecker
2014-06-18 16:48 ` Ingo Molnar
2014-06-23 12:53   ` Peter Zijlstra
2014-06-25  5:51     ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox