public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/3] sched: idle_balance() cleanup and fix
@ 2014-02-06 23:10 Daniel Lezcano
  2014-02-06 23:10 ` [PATCH V2 1/3] sched: Remove cpu parameter for idle_balance() Daniel Lezcano
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Daniel Lezcano @ 2014-02-06 23:10 UTC (permalink / raw)
  To: peterz, mingo; +Cc: alex.shi, linux-kernel, linaro-kernel

Peter,

this patchset replace the beginning of the previous mixed one which was not
yet commited [1] without changes except a compilation error fix for UP kernel
config. It is refreshed against tip/sched/core.

As the UP config compilation is broken on the previous patchset, git bisect is
no longer safe for it. You can apply this small serie and drop the 3 first
patches of the previous series [1], or ignore it and I will bring the fix
after you applied [1].

It cleanups the idle_balance function parameters by passing the struct rq
only, fixes a race in the idle_balance function and finally move the idle_stamp
from fair.c to core.c. I am aware it will return back to fair.c with Peter's
pending patches but at least it changes the idle_balance() function to return
true if a balance occured.

[1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg577271.html

Changelog:
	V2: 
	   * fixed compilation errors when CONFIG_SMP=n

	V1: initial post


Daniel Lezcano (3):
  sched: Remove cpu parameter for idle_balance()
  sched: Fix race in idle_balance()
  sched: Move idle_stamp up to the core

 kernel/sched/core.c  |   13 +++++++++++--
 kernel/sched/fair.c  |   20 +++++++++++++-------
 kernel/sched/sched.h |    8 +-------
 3 files changed, 25 insertions(+), 16 deletions(-)

-- 
1.7.9.5


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

end of thread, other threads:[~2014-02-13 10:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 23:10 [PATCH V2 0/3] sched: idle_balance() cleanup and fix Daniel Lezcano
2014-02-06 23:10 ` [PATCH V2 1/3] sched: Remove cpu parameter for idle_balance() Daniel Lezcano
2014-02-13  7:14   ` Alex Shi
2014-02-06 23:10 ` [PATCH V2 2/3] sched: Fix race in idle_balance() Daniel Lezcano
2014-02-10  9:24   ` Preeti Murthy
2014-02-11 11:11     ` Daniel Lezcano
2014-02-13  7:45       ` Alex Shi
2014-02-13 10:10         ` Preeti U Murthy
2014-02-13 10:22           ` Daniel Lezcano
2014-02-13  7:46   ` Alex Shi
2014-02-06 23:10 ` [PATCH V2 3/3] sched: Move idle_stamp up to the core Daniel Lezcano
2014-02-10 10:04   ` Preeti Murthy
2014-02-11 12:07     ` Daniel Lezcano
2014-02-13 10:14       ` Preeti U Murthy
2014-02-13  7:53   ` Alex Shi

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