aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Farman <[email protected]>2019-05-15 01:42:44 +0200
committerCornelia Huck <[email protected]>2019-06-03 12:02:55 +0200
commite4f3f18b12324e2c140b97f93e3259eee9696d11 (patch)
treebb793b61a30cad2c901adbfe0f6bf100292f9075 /tools/perf/scripts/python
parent4e31d6aecfbbe63cf09b8fe48572d20d2062c406 (diff)
s390/cio: Split pfn_array_alloc_pin into pieces
The pfn_array_alloc_pin routine is doing too much. Today, it does the alloc of the pfn_array struct and its member arrays, builds the iova address lists out of a contiguous piece of guest memory, and asks vfio to pin the resulting pages. Let's effectively revert a significant portion of commit 5c1cfb1c3948 ("vfio: ccw: refactor and improve pfn_array_alloc_pin()") such that we break pfn_array_alloc_pin() into its component pieces, and have one routine that allocates/populates the pfn_array structs, and another that actually pins the memory. In the future, we will be able to handle scenarios where pinning memory isn't actually appropriate. Signed-off-by: Eric Farman <[email protected]> Message-Id: <[email protected]> Reviewed-by: Farhan Ali <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions