diff options
author | Dan Williams <[email protected]> | 2019-06-13 15:56:30 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-06-13 17:34:56 -1000 |
commit | 1570175abd164b32ea1cc677f9dfd2dc6bd093f5 (patch) | |
tree | 9fc495dea2efcc3d340b3154a6b25edaf83001d9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 795ee30648c708502da9df637f83c33361d68dcc (diff) |
PCI/P2PDMA: track pgmap references per resource, not globally
In preparation for fixing a race between devm_memremap_pages_release()
and the final put of a page from the device-page-map, allocate a
percpu-ref per p2pdma resource mapping.
Link: http://lkml.kernel.org/r/155727338646.292046.9922678317501435597.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: "Jérôme Glisse" <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions