Re: [PATCH 2/2] drm/amdkfd: debug message to count successfully migrated pages

2021-10-21 Thread Felix Kuehling
Am 2021-10-20 um 8:47 p.m. schrieb Philip Yang: > Not all migrate.cpages returned from migrate_vma_setup can be migrated, > for example non anonymous page, or out of device memory. So after > migrate_vma_pages returns, add debug message to count pages are > successfully migrated which has MIGRATE_P

[PATCH 2/2] drm/amdkfd: debug message to count successfully migrated pages

2021-10-20 Thread Philip Yang
Not all migrate.cpages returned from migrate_vma_setup can be migrated, for example non anonymous page, or out of device memory. So after migrate_vma_pages returns, add debug message to count pages are successfully migrated which has MIGRATE_PFN_VALID and MIGRATE_PFN_MIGRATE flag set. Signed-off-b