Thread (43 messages) 43 messages, 7 authors, 2021-08-20

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-ext4, linux-xfs

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help