aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGuy Shapiro <[email protected]>2015-04-15 18:17:56 +0300
committerDoug Ledford <[email protected]>2015-05-05 09:18:02 -0400
commitc1d383b5785b1e0fb5fb862864712a7208219e6a (patch)
treeac3eb2c7467890e8665508c28b5b5c517b5a0e83 /tools/perf/util/scripting-engines/trace-event-python.c
parent5b6b8fe64053b2649660ded2f3c5be25ebddbfdb (diff)
IB/core: dma map/unmap locking optimizations
Currently, while mapping or unmapping pages for ODP, the umem mutex is locked and unlocked once for each page. Such lock/unlock operation take few tens to hundreds of nsecs. This makes a significant impact when mapping or unmapping few MBs of memory. To avoid this, the mutex should be locked only once per operation, and not per page. Signed-off-by: Guy Shapiro <[email protected]> Acked-by: Shachar Raindel <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions