Re: [PATCH v6 05/13] drm/amdkfd: generic type as sys mem on migration to ram

From
Christoph Hellwig <hch@lst.de>
Date
2021-08-17 05:49:04
Also in
amd-gfx, linux-mm, linux-xfs
Reply to
Sierra Guiza, Alejandro (Alex), 2021-08-16
On Mon, Aug 16, 2021 at 02:53:18PM -0500, Sierra Guiza, Alejandro (Alex) wrote:
For above’s condition equal to connected_to_cpu , we’re explicitly 
migrating from
device memory to system memory with device generic type. In this type, 
device PTEs are
present in CPU page table.

During migrate_vma_collect_pmd walk op at migrate_vma_setup call, there’s 
a condition
for present pte that require migrate->flags be set for 
MIGRATE_VMA_SELECT_SYSTEM.
Otherwise, the migration for this entry will be ignored.
I think we might need a new SELECT flag here for IOMEM.
Thread (43 messages) 43 messages, 7 authors, last reply 2021-08-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help