Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1827adb

Browse files
committed
Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull sched.h split-up from Ingo Molnar: "The point of these changes is to significantly reduce the <linux/sched.h> header footprint, to speed up the kernel build and to have a cleaner header structure. After these changes the new <linux/sched.h>'s typical preprocessed size goes down from a previous ~0.68 MB (~22K lines) to ~0.45 MB (~15K lines), which is around 40% faster to build on typical configs. Not much changed from the last version (-v2) posted three weeks ago: I eliminated quirks, backmerged fixes plus I rebased it to an upstream SHA1 from yesterday that includes most changes queued up in -next plus all sched.h changes that were pending from Andrew. I've re-tested the series both on x86 and on cross-arch defconfigs, and did a bisectability test at a number of random points. I tried to test as many build configurations as possible, but some build breakage is probably still left - but it should be mostly limited to architectures that have no cross-compiler binaries available on kernel.org, and non-default configurations" * 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (146 commits) sched/headers: Clean up <linux/sched.h> sched/headers: Remove #ifdefs from <linux/sched.h> sched/headers: Remove the <linux/topology.h> include from <linux/sched.h> sched/headers, hrtimer: Remove the <linux/wait.h> include from <linux/hrtimer.h> sched/headers, x86/apic: Remove the <linux/pm.h> header inclusion from <asm/apic.h> sched/headers, timers: Remove the <linux/sysctl.h> include from <linux/timer.h> sched/headers: Remove <linux/magic.h> from <linux/sched/task_stack.h> sched/headers: Remove <linux/sched.h> from <linux/sched/init.h> sched/core: Remove unused prefetch_stack() sched/headers: Remove <linux/rculist.h> from <linux/sched.h> sched/headers: Remove the 'init_pid_ns' prototype from <linux/sched.h> sched/headers: Remove <linux/signal.h> from <linux/sched.h> sched/headers: Remove <linux/rwsem.h> from <linux/sched.h> sched/headers: Remove the runqueue_is_locked() prototype sched/headers: Remove <linux/sched.h> from <linux/sched/hotplug.h> sched/headers: Remove <linux/sched.h> from <linux/sched/debug.h> sched/headers: Remove <linux/sched.h> from <linux/sched/nohz.h> sched/headers: Remove <linux/sched.h> from <linux/sched/stat.h> sched/headers: Remove the <linux/gfp.h> include from <linux/sched.h> sched/headers: Remove <linux/rtmutex.h> from <linux/sched.h> ...
2 parents 7876991 + 5eca1c1 commit 1827adb

File tree

1,218 files changed

+5559
-3908
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,218 files changed

+5559
-3908
lines changed

arch/alpha/include/asm/a.out-core.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifdef __KERNEL__
1616

1717
#include <linux/user.h>
18+
#include <linux/mm_types.h>
1819

1920
/*
2021
* Fill in the user structure for an ECOFF core dump.

arch/alpha/include/asm/mmu_context.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* Copyright (C) 1996, Linus Torvalds
88
*/
99

10+
#include <linux/mm_types.h>
11+
1012
#include <asm/machvec.h>
1113
#include <asm/compiler.h>
1214
#include <asm-generic/mm_hooks.h>

arch/alpha/kernel/osf_sys.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
*/
1212

1313
#include <linux/errno.h>
14-
#include <linux/sched.h>
14+
#include <linux/sched/signal.h>
15+
#include <linux/sched/mm.h>
16+
#include <linux/sched/task_stack.h>
17+
#include <linux/sched/cputime.h>
1518
#include <linux/kernel.h>
1619
#include <linux/mm.h>
1720
#include <linux/smp.h>

arch/alpha/kernel/process.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#include <linux/errno.h>
1212
#include <linux/module.h>
1313
#include <linux/sched.h>
14+
#include <linux/sched/debug.h>
15+
#include <linux/sched/task.h>
16+
#include <linux/sched/task_stack.h>
1417
#include <linux/kernel.h>
1518
#include <linux/mm.h>
1619
#include <linux/smp.h>

arch/alpha/kernel/ptrace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <linux/kernel.h>
88
#include <linux/sched.h>
9+
#include <linux/sched/task_stack.h>
910
#include <linux/mm.h>
1011
#include <linux/smp.h>
1112
#include <linux/errno.h>

arch/alpha/kernel/signal.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
* 1997-11-02 Modified for POSIX.1b signals by Richard Henderson
77
*/
88

9-
#include <linux/sched.h>
9+
#include <linux/sched/signal.h>
10+
#include <linux/sched/task_stack.h>
1011
#include <linux/kernel.h>
1112
#include <linux/signal.h>
1213
#include <linux/errno.h>

arch/alpha/kernel/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <linux/kernel.h>
1515
#include <linux/kernel_stat.h>
1616
#include <linux/module.h>
17-
#include <linux/sched.h>
17+
#include <linux/sched/mm.h>
1818
#include <linux/mm.h>
1919
#include <linux/err.h>
2020
#include <linux/threads.h>

arch/alpha/kernel/traps.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
#include <linux/jiffies.h>
1212
#include <linux/mm.h>
13-
#include <linux/sched.h>
13+
#include <linux/sched/signal.h>
14+
#include <linux/sched/debug.h>
1415
#include <linux/tty.h>
1516
#include <linux/delay.h>
1617
#include <linux/extable.h>

arch/alpha/math-emu/math.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <linux/types.h>
33
#include <linux/kernel.h>
44
#include <linux/sched.h>
5+
#include <asm/ptrace.h>
56

67
#include <linux/uaccess.h>
78

arch/alpha/mm/fault.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright (C) 1995 Linus Torvalds
55
*/
66

7-
#include <linux/sched.h>
7+
#include <linux/sched/signal.h>
88
#include <linux/kernel.h>
99
#include <linux/mm.h>
1010
#include <asm/io.h>

0 commit comments

Comments
 (0)