aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorRalph Campbell <[email protected]>2020-09-04 23:36:04 +0000
committerLinus Torvalds <[email protected]>2020-09-05 19:14:30 +0000
commit6128763fc3244d1b4868e5f0aa401f7f987b5c4d (patch)
tree3679668d669517484f10efc8461395b6875c6e60 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentmm/rmap: fixup copying of soft dirty and uffd ptes (diff)
downloadkernel-6128763fc3244d1b4868e5f0aa401f7f987b5c4d.tar.gz
kernel-6128763fc3244d1b4868e5f0aa401f7f987b5c4d.zip
mm/migrate: remove unnecessary is_zone_device_page() check
Patch series "mm/migrate: preserve soft dirty in remove_migration_pte()". I happened to notice this from code inspection after seeing Alistair Popple's patch ("mm/rmap: Fixup copying of soft dirty and uffd ptes"). This patch (of 2): The check for is_zone_device_page() and is_device_private_page() is unnecessary since the latter is sufficient to determine if the page is a device private page. Simplify the code for easier reading. Signed-off-by: Ralph Campbell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Cc: Jerome Glisse <[email protected]> Cc: Alistair Popple <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Jason Gunthorpe <[email protected]> Cc: Bharata B Rao <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions