aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2014-07-21 13:21:23 +0100
committerDaniel Vetter <[email protected]>2014-07-24 11:00:00 +0200
commitec8b0dd51c50e33c3831bbf57ee4ca3e9f35460d (patch)
tree16aa5330caf27ba5b2d54de154c6aa1d60f506da /tools/perf/scripts/python/syscall-counts-by-pid.py
parent03dae59c72ffffd8ef6e005f48ba356c863e0587 (diff)
drm/i915: Allow overlapping userptr objects
Whilst I strongly advise against doing so for the implicit coherency issues between the multiple buffer objects accessing the same backing store, it nevertheless is a valid use case, akin to mmaping the same file multiple times. The reason why we forbade it earlier was that our use of the interval tree for fast invalidation upon vma changes excluded overlapping objects. So in the case where the user wishes to create such pairs of overlapping objects, we degrade the range invalidation to walkin the linear list of objects associated with the mm. A situation where overlapping objects could arise is the lax implementation of MIT-SHM Pixmaps in the xserver. A second situation is where the user wishes to have different access modes to a region of memory (e.g. access through a read-only userptr buffer and through a normal userptr buffer). v2: Compile for mmu-notifiers after tweaking v3: Rename is_linear/has_linear Signed-off-by: Chris Wilson <[email protected]> Cc: "Li, Victor Y" <[email protected]> Cc: "Kelley, Sean V" <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: "Gong, Zhipeng" <[email protected]> Cc: Akash Goel <[email protected]> Cc: "Volkin, Bradley D" <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions