Peter Zijlstra
b8a216269e
sched: Move completion code from core.c to completion.c
...
Completions already have their own header file: linux/completion.h
Move the implementation out of kernel/sched/core.c and into its own
file: kernel/sched/completion.c.
Signed-off-by: Peter Zijlstra <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Andrew Morton <[email protected] >
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2013-11-06 07:49:19 +01:00
Peter Zijlstra
7a6354e241
sched: Move wait.c into kernel/sched/
...
Suggested-by: Ingo Molnar <[email protected] >
Signed-off-by: Peter Zijlstra <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Andrew Morton <[email protected] >
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2013-11-06 07:49:16 +01:00
Paul Gortmaker
45ceebf776
sched: Factor out load calculation code from sched/core.c --> sched/proc.c
...
This large chunk of load calculation code can be easily divorced
from the main core.c scheduler file, with only a couple
prototypes and externs added to a kernel/sched header.
Some recent commits expanded the code and the documentation of
it, making it large enough to warrant separation. For example,
see:
556061b , "sched/nohz: Fix rq->cpu_load[] calculations"
5aaa0b7 , "sched/nohz: Fix rq->cpu_load calculations some more"
5167e8d , "sched/nohz: Rewrite and fix load-avg computation -- again"
More importantly, it helps reduce the size of the main
sched/core.c by yet another significant amount (~600 lines).
Signed-off-by: Paul Gortmaker <[email protected] >
Acked-by: Peter Zijlstra <[email protected] >
Cc: Frederic Weisbecker <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2013-05-07 13:14:50 +02:00
Li Zefan
2e76c24d72
sched: Split cpuacct code out of core.c
...
Signed-off-by: Li Zefan <[email protected] >
Acked-by: Peter Zijlstra <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2013-04-10 13:54:15 +02:00
Frederic Weisbecker
73fbec6044
sched: Move cputime code to its own file
...
Extract cputime code from the giant sched/core.c and
put it in its own file. This make it easier to deal with
this particular area and de-bloat a bit more core.c
Signed-off-by: Frederic Weisbecker <[email protected] >
Acked-by: Martin Schwidefsky <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Fenghua Yu <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Peter Zijlstra <[email protected] >
2012-08-20 13:05:17 +02:00
Thomas Gleixner
a4a2eb490e
init_task: Create generic init_task instance
...
All archs define init_task in the same way (except ia64, but there is
no particular reason why ia64 cannot use the common version). Create a
generic instance so all archs can be converted over.
The config switch is temporary and will be removed when all archs are
converted over.
Signed-off-by: Thomas Gleixner <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Chris Metcalf <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: David Howells <[email protected] >
Cc: David S. Miller <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Haavard Skinnemoen <[email protected] >
Cc: Hirokazu Takata <[email protected] >
Cc: James E.J. Bottomley <[email protected] >
Cc: Jesper Nilsson <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Mike Frysinger <[email protected] >
Cc: Paul Mundt <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Russell King <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
2012-05-05 13:00:21 +02:00
Peter Zijlstra
391e43da79
sched: Move all scheduler bits into kernel/sched/
...
There's too many sched*.[ch] files in kernel/, give them their own
directory.
(No code changed, other than Makefile glue added.)
Signed-off-by: Peter Zijlstra <[email protected] >
Signed-off-by: Ingo Molnar <[email protected] >
2011-11-17 12:20:22 +01:00