From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751605AbdBHSpm (ORCPT ); Wed, 8 Feb 2017 13:45:42 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34152 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467AbdBHSpk (ORCPT ); Wed, 8 Feb 2017 13:45:40 -0500 From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Linus Torvalds , Mike Galbraith , Oleg Nesterov , Peter Zijlstra , Thomas Gleixner Subject: [PATCH 00/53] sched.h modernization -v2, phase #3: "Move definitions between headers" Date: Wed, 8 Feb 2017 19:44:31 +0100 Message-Id: <1486579524-14901-1-git-send-email-mingo@kernel.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is phase #3 of the sched.h modernization series. These patches are the meat of the code movement between headers, but they don't actually change the header dependency graph: all code movement is between pre-existing headers and all post-movement header dependencies were already established by the phase #2 preparatory series.. 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 (53): sched/headers: Move scheduler topology interfaces to sched/headers: Move the 'cpu_idle_type' enum from to sched/headers: Move the wake_up_if_idle() prototype to sched/headers: Move idle polling methods to sched/headers: Move the wake-queue types and interfaces from sched.h into sched/headers: Move scheduler clock interfaces to sched/headers, delayacct: Move the 'struct task_delay_info' definition from to sched/headers: Move various ABI definitions to sched/headers: Move loadavg related definitions from to sched/headers: Move autogroup APIs into sched/headers: Move task->mm handling methods to sched/headers: Move task->mm coredumping related defines and methods from to sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into sched/headers: Move 'struct user_struct' definition and APIs to the new header sched/headers: Move softlockup detector watchdog methods to sched/headers: Move 'struct pacct_struct' and 'struct cpu_itimer' form to sched/headers: Move the cpufreq interfaces to sched/headers: Move more mm_struct related functionality from to sched/headers: Move the 'init_mm' declaration from to sched/headers: Move in_vfork() from to sched/headers: Move the NUMA balancing interfaces from to sched/headers: Move the JOBCTL_ defines and methods from to sched/headers: Remove various unrelated headers from sched/headers: Move CONFIG_TASK_XACCT bits from to sched/headers: Move signal wakeup & sigpending methods from into sched/headers: Move the memalloc_noio_*() APIs to sched/headers: Move task statistics APIs from to sched/headers: Move the NOHZ APIs from to sched/headers: Move debugging functions from to sched/headers, time/timekeeping: Move the xtime_update() prototype from to sched/headers: Move include from the middle of to the header portion sched/headers: Split hotplug CPU interfaces out of into sched/headers: Move task lifetime APIs from to sched/headers, RCU: Move rcu_copy_process() from to kernel/fork.c sched/core: Move, sort and clean up structure predeclarations sched/headers: Move the PREEMPT_COUNT defines from to sched/headers: Move task-stack related APIs from to sched/headers: Move the 'root_task_group' declaration to signals: Move signal data types from to mm/headers, sched/headers: Move task related MM types from to sched/headers: Remove the dependency from sched/headers: Move 'init_task' and 'init_thread_union' from to sched/headers: Move the task_lock()/unlock() APIs to sched/headers: Move cputime functionality from and into sched/headers: Move sched_info_on() and force_schedstat_enabled() from to sched/headers, vfs/execve: Move the do_execve*() prototypes from to sched/headers: Move kstack_end() from to sched/headers: Move exit_files() and exit_itimers() from to sched/headers: Move _init() prototypes from to sched/headers, timekeeping: Move the timer tick function prototypes to sched/headers, mm: Move 'struct tlbflush_unmap_batch' from to sched/headers: Move the get_task_struct()/put_task_struct() and related APIs from to sched/headers: Move the sched_exec() prototype to include/linux/binfmts.h | 10 + include/linux/cputime.h | 13 - include/linux/delayacct.h | 36 + include/linux/init_task.h | 2 - include/linux/mm_types.h | 51 +- include/linux/mm_types_task.h | 77 ++ include/linux/nmi.h | 37 + include/linux/preempt.h | 21 + include/linux/sched.h | 3903 +++++++++++++----------------------------------------- include/linux/sched/autogroup.h | 26 + include/linux/sched/clock.h | 98 ++ include/linux/sched/coredump.h | 69 + include/linux/sched/cpufreq.h | 21 + include/linux/sched/cputime.h | 182 ++- include/linux/sched/debug.h | 46 + include/linux/sched/hotplug.h | 20 + include/linux/sched/idle.h | 85 ++ include/linux/sched/init.h | 7 + include/linux/sched/jobctl.h | 32 + include/linux/sched/loadavg.h | 27 + include/linux/sched/mm.h | 121 ++ include/linux/sched/nohz.h | 39 + include/linux/sched/numa_balancing.h | 40 + include/linux/sched/signal.h | 601 ++++++++- include/linux/sched/stat.h | 34 + include/linux/sched/task.h | 133 ++ include/linux/sched/task_stack.h | 114 ++ include/linux/sched/topology.h | 213 +++ include/linux/sched/user.h | 58 + include/linux/sched/wake_q.h | 50 + include/linux/sched/xacct.h | 42 + include/linux/signal.h | 54 - include/linux/signal_types.h | 59 + include/linux/timekeeping.h | 4 + include/uapi/linux/sched/types.h | 68 + kernel/fork.c | 15 + kernel/sched/stats.h | 111 -- 37 files changed, 3289 insertions(+), 3230 deletions(-) delete mode 100644 include/linux/cputime.h -- 2.7.4