aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2011-04-09 21:17:47 +0200
committerIngo Molnar <[email protected]>2011-05-28 18:01:21 +0200
commite03a9a55b4e45377af9ca3d464135f9ea280b8f8 (patch)
tree81ccb92c25baf8c1ac3d181fe25607328c1eb7f1 /lib/mpi/mpiutil.c
parentdce5855bba5df9e87bb04584d505c1f1b103c652 (diff)
perf: Change close() semantics for group events
In order to always call list_del_event() on the correct cpu if the event is part of an active context and avoid having to do two IPIs, change the close() semantics slightly. The current perf_event_disable() call would disable a whole group if the event that's being closed is the group leader, whereas the new code keeps the group siblings enabled. People should not rely on this behaviour and I don't think they do, but in case we find they do, the fix is easy and we have to take the double IPI cost. Signed-off-by: Peter Zijlstra <[email protected]> Cc: Vince Weaver <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions