• H
    sched, cputime: Cleanups related to task_times() · d99ca3b9
    Hidetoshi Seto 提交于
    - Remove if({u,s}t)s because no one call it with NULL now.
    - Use cputime_{add,sub}().
    - Add ifndef-endif for prev_{u,s}time since they are used
      only when !VIRT_CPU_ACCOUNTING.
    Signed-off-by: NHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Spencer Candland <spencer@bluehost.com>
    Cc: Americo Wang <xiyou.wangcong@gmail.com>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Balbir Singh <balbir@in.ibm.com>
    Cc: Stanislaw Gruszka <sgruszka@redhat.com>
    LKML-Reference: <4B1624C7.7040302@jp.fujitsu.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    d99ca3b9
sched.c 268.1 KB