diff options
| author | Christian König <[email protected]> | 2020-09-14 15:09:33 +0200 |
|---|---|---|
| committer | Christian König <[email protected]> | 2020-11-05 13:03:52 +0100 |
| commit | 2b5b95b1ff3d70a95013a45e3b5b90f1daf42348 (patch) | |
| tree | 0d0d804862b63c20500e6e947931d18f440dbb45 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 0227da01f2559626396af5f6c7453360db86c1f6 (diff) | |
mm: introduce vma_set_file function v4
Add the new vma_set_file() function to allow changing
vma->vm_file with the necessary refcount dance.
v2: add more users of this.
v3: add missing EXPORT_SYMBOL, rebase on mmap cleanup,
add comments why we drop the reference on two occasions.
v4: make it clear that changing an anonymous vma is illegal.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]> (v2)
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://patchwork.freedesktop.org/patch/394773/
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions