diff options
author | Neil Roberts <[email protected]> | 2021-02-23 16:51:24 +0100 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2021-03-11 11:11:33 +0100 |
commit | d611b4a0907cece060699f2fd347c492451cd2aa (patch) | |
tree | 62bb4333a8f34a9cb3e93c492561f5f4327d2f6c /tools/perf/scripts/python/stat-cpi.py | |
parent | 738acd49eb018feb873e0fac8f9517493f6ce2c7 (diff) |
drm/shmem-helper: Check for purged buffers in fault handler
When a buffer is madvised as not needed and then purged, any attempts to
access the buffer from user-space should cause a bus fault. This patch
adds a check for that.
Cc: [email protected]
Fixes: 17acb9f35ed7 ("drm/shmem: Add madvise state and purge helpers")
Signed-off-by: Neil Roberts <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions