summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorEmily Deng <Emily.Deng@amd.com>2024-12-31 11:13:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-01-24 17:52:08 +0300
commitb5f022fe8ec58540e29a32e328f89b7298f70313 (patch)
tree0d511eb0b0e8304efa3a41e08d3b7d5c1fbb0062 /net/lapb/lapb_timer.c
parent19b7f7c721f62b899017a633277becce57c0a070 (diff)
downloadlinux-b5f022fe8ec58540e29a32e328f89b7298f70313.tar.xz
drm/amdkfd: Fix partial migrate issue
For partial migrate from ram to vram, the migrate->cpages is not equal to migrate->npages, should use migrate->npages to check all needed migrate pages which could be copied or not. And only need to set those pages could be migrated to migrate->dst[i], or the migrate_vma_pages will migrate the wrong pages based on the migrate->dst[i]. v2: Add mpages to break the loop earlier. v3: Uses MIGRATE_PFN_MIGRATE to identify whether page could be migrated. v4: Correct the error part. Signed-off-by: Emily Deng <Emily.Deng@amd.com> Reviewed-by: Philip Yang<Philip.Yang@amd.com> Suggested-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions