summaryrefslogtreecommitdiff
path: root/fs/squashfs
diff options
context:
space:
mode:
authorAlistair Popple <apopple@nvidia.com>2022-10-19 15:29:34 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-10-21 07:27:24 +0300
commit97061d441110528dc02972818f2f1dad485107f9 (patch)
tree6192201818f25a50a4d262e80e500027da73db9b /fs/squashfs
parent71e2d666ef85d51834d658830f823560c402b8b6 (diff)
downloadlinux-97061d441110528dc02972818f2f1dad485107f9.tar.xz
nouveau: fix migrate_to_ram() for faulting page
Commit 16ce101db85d ("mm/memory.c: fix race when faulting a device private page") changed the migrate_to_ram() callback to take a reference on the device page to ensure it can't be freed while handling the fault. Unfortunately the corresponding update to Nouveau to accommodate this change was inadvertently dropped from that patch causing GPU to CPU migration to fail so add it here. Link: https://lkml.kernel.org/r/20221019122934.866205-1-apopple@nvidia.com Fixes: 16ce101db85d ("mm/memory.c: fix race when faulting a device private page") Signed-off-by: Alistair Popple <apopple@nvidia.com> Cc: John Hubbard <jhubbard@nvidia.com> Cc: Ralph Campbell <rcampbell@nvidia.com> Cc: Lyude Paul <lyude@redhat.com> Cc: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/squashfs')
0 files changed, 0 insertions, 0 deletions