diff options
author | 2019-12-29 16:42:56 +0100 | |
---|---|---|
committer | 2020-01-07 13:02:43 -0700 | |
commit | bb3d3cf928d4cc450aa817a9c71f4324ec68fd63 (patch) | |
tree | dbf454be8d610742f3974f5855fc442076b7ee48 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vfio/spapr/nvlink2: Skip unpinning pages on error exit (diff) | |
download | wireguard-linux-bb3d3cf928d4cc450aa817a9c71f4324ec68fd63.tar.xz wireguard-linux-bb3d3cf928d4cc450aa817a9c71f4324ec68fd63.zip |
vfio: vfio_pci_nvlink2: use mmgrab
Mmgrab was introduced in commit f1f1007644ff ("mm: add new mmgrab()
helper") and most of the kernel was updated to use it. Update a
remaining file.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
<smpl>
@@ expression e; @@
- atomic_inc(&e->mm_count);
+ mmgrab(e);
</smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions