aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMitko Haralanov <[email protected]>2016-02-03 14:37:06 -0800
committerDoug Ledford <[email protected]>2016-03-10 20:37:59 -0500
commit0840aea98cdf9024aff7f69e1167c4648665d48b (patch)
treed56bcf4c57d43cc38577ed7ef963aa24a02182f9 /tools/perf/scripts/python
parente1bf0d5ecdc49cd4e2014da0d60efa74f5714fba (diff)
staging/rdma/hfi1: Improve performance of user SDMA
To facilitate locked page counting, the user SDMA routines would maintain a list of io vectors, which were freed in the completion callback and then unpin the associated pages during the next call into the kernel. Since the size of this list was unbounded, doing this was bad for performance because the driver ended up spending too much time freeing the io vectors. This commit changes how the io vector freeing is done by moving the actual page unpinning in the callback and maintaining a count of unpinned pages. This count can then be used during the next call into the kernel to update the mm->pinned_vm variable (since that requires process context and the ability to sleep.) Reviewed-by: Mike Marciniszyn <[email protected]> Signed-off-by: Mitko Haralanov <[email protected]> Signed-off-by: Jubin John <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions