diff options
author | Neil Roberts <nroberts@igalia.com> | 2021-02-23 16:51:24 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-03-11 11:11:33 +0100 |
commit | d611b4a0907cece060699f2fd347c492451cd2aa (patch) | |
tree | 62bb4333a8f34a9cb3e93c492561f5f4327d2f6c /tools/perf/scripts/python/syscall-counts-by-pid.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: stable@vger.kernel.org
Fixes: 17acb9f35ed7 ("drm/shmem: Add madvise state and purge helpers")
Signed-off-by: Neil Roberts <nroberts@igalia.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210223155125.199577-2-nroberts@igalia.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions