• P
    perf: Optimize perf_disable · 32975a4f
    Peter Zijlstra 提交于
    Currently we always call hw_perf_disable(), even if its already disabled,
    this seems superflous, esp. since it cannot be made NMI safe (see further
    patches).
    Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: paulus@samba.org
    Cc: eranian@google.com
    Cc: robert.richter@amd.com
    Cc: fweisbec@gmail.com
    Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
    LKML-Reference: <new-submission>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    32975a4f
perf_event.c 125.5 KB