• I
    perf_counter, x86: speed up the scheduling fast-path · b68f1d2e
    Ingo Molnar 提交于
    We have to set up the LVT entry only at counter init time, not at
    every switch-in time.
    
    There's friction between NMI and non-NMI use here - we'll probably
    remove the per counter configurability of it - but until then, dont
    slow down things ...
    
    [ Impact: micro-optimization ]
    
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    LKML-Reference: <new-submission>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    b68f1d2e
perf_counter.c 27.9 KB