diff options
| author | Zhangfei Gao <[email protected]> | 2020-02-26 15:12:06 +0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-03-06 12:28:24 +1100 |
| commit | acc670dba9f57298a6afd7cdfc9a7254292bbec9 (patch) | |
| tree | 410cb9948a539b6aec465e93a4af15cc63e32768 /tools/perf/scripts/python | |
| parent | 732e540953477083082e999ff553622c59cffd5f (diff) | |
uacce: unmap remaining mmapping from user space
When uacce parent device module is removed, user app may
still keep the mmaped area, which can be accessed unsafely.
When rmmod, Parent device driver will call uacce_remove,
which unmap all remaining mapping from user space for safety.
VM_FAULT_SIGBUS is also reported to user space accordingly.
Suggested-by: Dave Jiang <[email protected]>
Signed-off-by: Zhangfei Gao <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions