Re: [PATCH 3/3] drm/amdkfd: Check cpu page faulted vmf->page got migrated to system RAM

"Kuehling, Felix" <[email protected]>
Newsgroups org.freedesktop.lists.amd-gfx
Message-ID <[email protected]>
On 2026-08-19 11:16, Chen, Xiaogang wrote:
> Maybe you said retry fault handler inside kernel is a better way: we 
> let driver return VM_FAULT_RETRY for pinned vmf->page, let kernel 
> retry handle_mm_fault, then hope the pin will be drop soon?

I agree. Pages should never be pinned for a very long time. In other 
words, I believe this is all working as it should and this patch is 
unnecessary.

Regards,
   Felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.