1. 07 Feb, 2017 5 commits
    • Ingo Molnar's avatar
      sched/topology: Split out scheduler topology code from core.c into topology.c · f2cb1360
      Ingo Molnar authored
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      f2cb1360
    • Ingo Molnar's avatar
      sched/core: Remove unnecessary #include headers · 004172bd
      Ingo Molnar authored
      Over the years sched/core.c accumulated over 50 #include lines,
      40 of which are superfluous. (!)
      
      Removing them decreases the preprocessed .c file (.i) size noticeably:
      
                  triton:~/tip> wc -l kernel/sched/core.i
      
        Before:   76387 kernel/sched/core.i
        After:    75896 kernel/sched/core.i
      
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      004172bd
    • Ingo Molnar's avatar
      sched/rq_clock: Consolidate the ordering of the rq_clock methods · 535b9552
      Ingo Molnar authored
      update_rq_clock_task() and update_rq_clock() we unnecessarily
      spread across core.c, requiring an extra prototype line.
      
      Move them next to each other and in the proper order.
      
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      535b9552
    • Ingo Molnar's avatar
      delayacct: Include <uapi/linux/taskstats.h> · 4025819d
      Ingo Molnar authored
      include/linux/delayacct.h relies on 'struct taskstats' but does
      not include the header that defines it.
      
      This worked so far because files that included <linux/taskstats.h>
      also happened to include other headers that included
      uapi/linux/taskstats.h.
      
      Fix it.
      
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      4025819d
    • Ingo Molnar's avatar
      sched/core: Clean up comments · d1ccc66d
      Ingo Molnar authored
      Refresh the comments in the core scheduler code:
      
       - Capitalize sentences consistently
      
       - Capitalize 'CPU' consistently
      
       - ... and other small details.
      
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      d1ccc66d
  2. 01 Feb, 2017 35 commits