1. 07 2月, 2017 5 次提交
    • I
      sched/topology: Split out scheduler topology code from core.c into topology.c · f2cb1360
      Ingo Molnar 提交于
      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: NIngo Molnar <mingo@kernel.org>
      f2cb1360
    • I
      sched/core: Remove unnecessary #include headers · 004172bd
      Ingo Molnar 提交于
      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: NIngo Molnar <mingo@kernel.org>
      004172bd
    • I
      sched/rq_clock: Consolidate the ordering of the rq_clock methods · 535b9552
      Ingo Molnar 提交于
      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: NIngo Molnar <mingo@kernel.org>
      535b9552
    • I
      delayacct: Include <uapi/linux/taskstats.h> · 4025819d
      Ingo Molnar 提交于
      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: NIngo Molnar <mingo@kernel.org>
      4025819d
    • I
      sched/core: Clean up comments · d1ccc66d
      Ingo Molnar 提交于
      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: NIngo Molnar <mingo@kernel.org>
      d1ccc66d
  2. 01 2月, 2017 35 次提交