public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/35] sched.h modernization -v2, phase #4: "Remove header dependencies"
@ 2017-02-08 18:50 Ingo Molnar
  2017-02-08 18:50 ` [PATCH 01/35] sched/headers: Remove <linux/sched.h> from <linux/sched/topology.h> Ingo Molnar
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: Ingo Molnar @ 2017-02-08 18:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, Linus Torvalds, Mike Galbraith, Oleg Nesterov,
	Peter Zijlstra, Thomas Gleixner

This is phase #4 of the sched.h modernization series.

These remove header #include lines and remove prototypes and thus shrink the
header dependency graph monotonically to the desired end result. These are
small patches but most breakage will likely bisect to these, so their
finegrained split-up is useful as well.

See the announcement for more details:

  https://lkml.org/lkml/2017/2/8/564

The Git tree can be found at:

  git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core

Thanks,

    Ingo

Ingo Molnar (35):
  sched/headers: Remove <linux/sched.h> from <linux/sched/topology.h>
  sched/headers: Remove tsk_is_polling()
  sched/headers: Remove <linux/sched.h> from <linux/sched/wake_q.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/clock.h>
  sched/headers: Remove <linux/sched.h> and <linux/slab.h> from <linux/delayacct.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/loadavg.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/autogroup.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/mm.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/coredump.h>
  sched/headers: Remove unused 'task_can_switch_user()' prototype
  sched/headers: Remove <linux/sched.h> from <linux/sched/user.h>
  sched/headers: Remove #include <linux/capability.h> from <linux/sched.h>
  sched/headers: Remove <linux/cgroup-defs.h> from <linux/sched.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/cpufreq.h>
  kasan, sched/headers: Remove <linux/sched.h> from <linux/kasan.h>
  sched/headers: Remove <linux/cred.h> inclusion from <linux/sched.h>
  sched/headers: Remove <asm/ptrace.h> from <linux/sched.h>
  sched/headers: Remove <linux/rtmutex.h> from <linux/sched.h>
  sched/headers: Remove the <linux/gfp.h> include from <linux/sched.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/stat.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/nohz.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/debug.h>
  sched/headers: Remove <linux/sched.h> from <linux/sched/hotplug.h>
  sched/headers: Remove the runqueue_is_locked() prototype
  sched/headers: Remove <linux/rwsem.h> from <linux/sched.h>
  sched/headers: Remove <linux/signal.h> from <linux/sched.h>
  sched/headers: Remove the 'init_pid_ns' prototype from <linux/sched.h>
  sched/headers: Remove <linux/rculist.h> from <linux/sched.h>
  sched/core: Remove unused prefetch_stack()
  sched/headers: Remove <linux/sched.h> from <linux/sched/init.h>
  sched/headers: Remove <linux/magic.h> from <linux/sched/task_stack.h>
  sched/headers, timers: Remove the <linux/sysctl.h> include from <linux/timer.h>
  sched/headers, x86/apic: Remove the <linux/pm.h> header inclusion from <asm/apic.h>
  sched/headers, hrtimer: Remove the <linux/wait.h> include from <linux/hrtimer.h>
  sched/headers: Remove the <linux/topology.h> include from <linux/sched.h>

 arch/ia64/include/asm/processor.h |  2 --
 arch/ia64/kernel/entry.S          | 23 -----------------------
 arch/x86/include/asm/apic.h       |  1 -
 include/linux/delayacct.h         |  2 --
 include/linux/hrtimer.h           |  1 -
 include/linux/kasan.h             |  1 -
 include/linux/sched.h             | 32 ++------------------------------
 include/linux/sched/autogroup.h   |  3 +--
 include/linux/sched/clock.h       |  2 +-
 include/linux/sched/coredump.h    |  1 -
 include/linux/sched/cpufreq.h     |  2 +-
 include/linux/sched/debug.h       |  2 --
 include/linux/sched/hotplug.h     |  2 --
 include/linux/sched/idle.h        |  5 -----
 include/linux/sched/init.h        |  2 --
 include/linux/sched/loadavg.h     |  2 --
 include/linux/sched/mm.h          |  2 ++
 include/linux/sched/nohz.h        |  2 --
 include/linux/sched/stat.h        |  2 +-
 include/linux/sched/topology.h    |  7 ++++++-
 include/linux/sched/user.h        |  3 ++-
 include/linux/sched/wake_q.h      |  5 +++--
 include/linux/timer.h             |  2 +-
 include/linux/user_namespace.h    |  2 ++
 include/target/target_core_base.h |  1 +
 kernel/utsname_sysctl.c           |  1 +
 26 files changed, 24 insertions(+), 86 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-02-08 21:32 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-08 18:50 [PATCH 00/35] sched.h modernization -v2, phase #4: "Remove header dependencies" Ingo Molnar
2017-02-08 18:50 ` [PATCH 01/35] sched/headers: Remove <linux/sched.h> from <linux/sched/topology.h> Ingo Molnar
2017-02-08 18:50 ` [PATCH 02/35] sched/headers: Remove tsk_is_polling() Ingo Molnar
2017-02-08 18:50 ` [PATCH 03/35] sched/headers: Remove <linux/sched.h> from <linux/sched/wake_q.h> Ingo Molnar
2017-02-08 18:50 ` [PATCH 04/35] sched/headers: Remove <linux/sched.h> from <linux/sched/clock.h> Ingo Molnar
2017-02-08 18:50 ` [PATCH 05/35] sched/headers: Remove <linux/sched.h> and <linux/slab.h> from <linux/delayacct.h> Ingo Molnar
2017-02-08 18:50 ` [PATCH 06/35] sched/headers: Remove <linux/sched.h> from <linux/sched/loadavg.h> Ingo Molnar
2017-02-08 18:50 ` [PATCH 07/35] sched/headers: Remove <linux/sched.h> from <linux/sched/autogroup.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 08/35] sched/headers: Remove <linux/sched.h> from <linux/sched/mm.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 09/35] sched/headers: Remove <linux/sched.h> from <linux/sched/coredump.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 10/35] sched/headers: Remove unused 'task_can_switch_user()' prototype Ingo Molnar
2017-02-08 18:51 ` [PATCH 11/35] sched/headers: Remove <linux/sched.h> from <linux/sched/user.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 12/35] sched/headers: Remove #include <linux/capability.h> from <linux/sched.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 13/35] sched/headers: Remove <linux/cgroup-defs.h> " Ingo Molnar
2017-02-08 18:51 ` [PATCH 14/35] sched/headers: Remove <linux/sched.h> from <linux/sched/cpufreq.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 15/35] kasan, sched/headers: Remove <linux/sched.h> from <linux/kasan.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 16/35] sched/headers: Remove <linux/cred.h> inclusion from <linux/sched.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 17/35] sched/headers: Remove <asm/ptrace.h> " Ingo Molnar
2017-02-08 18:51 ` [PATCH 18/35] sched/headers: Remove <linux/rtmutex.h> " Ingo Molnar
2017-02-08 18:51 ` [PATCH 19/35] sched/headers: Remove the <linux/gfp.h> include " Ingo Molnar
2017-02-08 18:51 ` [PATCH 20/35] sched/headers: Remove <linux/sched.h> from <linux/sched/stat.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 21/35] sched/headers: Remove <linux/sched.h> from <linux/sched/nohz.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 22/35] sched/headers: Remove <linux/sched.h> from <linux/sched/debug.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 23/35] sched/headers: Remove <linux/sched.h> from <linux/sched/hotplug.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 24/35] sched/headers: Remove the runqueue_is_locked() prototype Ingo Molnar
2017-02-08 18:51 ` [PATCH 25/35] sched/headers: Remove <linux/rwsem.h> from <linux/sched.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 26/35] sched/headers: Remove <linux/signal.h> " Ingo Molnar
2017-02-08 18:51 ` [PATCH 27/35] sched/headers: Remove the 'init_pid_ns' prototype " Ingo Molnar
2017-02-08 18:51 ` [PATCH 28/35] sched/headers: Remove <linux/rculist.h> " Ingo Molnar
2017-02-08 18:51 ` [PATCH 29/35] sched/core: Remove unused prefetch_stack() Ingo Molnar
2017-02-08 18:51 ` [PATCH 30/35] sched/headers: Remove <linux/sched.h> from <linux/sched/init.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 31/35] sched/headers: Remove <linux/magic.h> from <linux/sched/task_stack.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 32/35] sched/headers, timers: Remove the <linux/sysctl.h> include from <linux/timer.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 33/35] sched/headers, x86/apic: Remove the <linux/pm.h> header inclusion from <asm/apic.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 34/35] sched/headers, hrtimer: Remove the <linux/wait.h> include from <linux/hrtimer.h> Ingo Molnar
2017-02-08 18:51 ` [PATCH 35/35] sched/headers: Remove the <linux/topology.h> include from <linux/sched.h> Ingo Molnar

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