diff options
author | Andi Kleen <[email protected]> | 2019-11-20 16:15:17 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-29 12:20:45 -0300 |
commit | 7736627b865defff2430e95df235b4aa2450bc37 (patch) | |
tree | 525853a8ed36f1cc6f373b7952ee4a2aa0d45eab /drivers/usb/cdns3/cdns3-debug.h | |
parent | 99d6141d677a8cd0b35390a29527c8def42538b1 (diff) |
perf stat: Use affinity for closing file descriptors
Closing a perf fd can also trigger an IPI to the target CPU.
Use the same affinity technique as we use for reading/enabling events to
closing to optimize the CPU transitions.
Before on a large test case with 94 CPUs:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
32.56 3.085463 50 61483 close
After:
10.54 0.735704 11 61485 close
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions