summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2022-07-26 15:13:30 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-09-13 12:54:23 -0400
commitc969c5fd21fd700b126aa139ec57875697946474 (patch)
tree91985e7bd6a9a223fa924488837281c5204187d8 /tools/perf/scripts/python/export-to-postgresql.py
parente1f84eef313f4820cca068a238c645d0a38c6a9b (diff)
drm/amdkfd: Remove prefault before migrating to VRAM
Prefaulting potentially allocates system memory pages before a migration. This adds unnecessary overhead. Instead we can skip unallocated pages in the migration and just point migrate->dst to a 0-initialized VRAM page directly. Then the VRAM page will be inserted to the PTE. A subsequent CPU page fault will migrate the page back to system memory. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions