• Peter Zijlstra's avatar
    perf_counter: Fix dynamic irq_period logging · e220d2dc
    Peter Zijlstra authored
    We call perf_adjust_freq() from perf_counter_task_tick() which
    is is called under the rq->lock causing lock recursion.
    However, it's no longer required to be called under the
    rq->lock, so remove it from under it.
    
    Also, fix up some related comments.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    LKML-Reference: <20090523163012.476197912@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    e220d2dc
sched.c 251 KB