summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorRalph Campbell <rcampbell@nvidia.com>2020-05-20 11:36:52 -0700
committerBen Skeggs <bskeggs@redhat.com>2020-05-22 11:13:52 +1000
commit9d4296a7d4b329016e6b5b59a7fb3f8afa36ac05 (patch)
tree034bc4d8011a378a2fef851939b74d4ae10352f6 /mm/slub.c
parent1d7f940c3a16623adb25706b10d81f8b822d53f9 (diff)
downloadlinux-9d4296a7d4b329016e6b5b59a7fb3f8afa36ac05.tar.bz2
drm/nouveau/nouveau/hmm: fix migrate zero page to GPU
When calling OpenCL clEnqueueSVMMigrateMem() on a region of memory that is backed by pte_none() or zero pages, migrate_vma_setup() will fill the source PFN array with an entry indicating the source page is zero. Use this to optimize migration to device private memory by allocating GPU memory and zero filling it instead of failing to migrate the page. Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions