• Peter Zijlstra's avatar
    perf: Provide a separate task context for swevents · 89a1e187
    Peter Zijlstra authored
    Since software events are always schedulable, mixing them up with
    hardware events (who are not) can lead to funny scheduling oddities.
    
    Giving them their own context solves this.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: paulus <paulus@samba.org>
    Cc: stephane eranian <eranian@googlemail.com>
    Cc: Robert Richter <robert.richter@amd.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Lin Ming <ming.m.lin@intel.com>
    Cc: Yanmin <yanmin_zhang@linux.intel.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    89a1e187
perf_event.c 140 KB