Re: [PATCH] mm/hmm: honor write requests for owned device-private pages

From: Aveline Noir

Date: Sun Nov 01 2026 - 04:00:01 EST


Hi Sashiko,

On Sun, 01 Nov 2026 07:29:15 +0000 sashiko-bot@xxxxxxxxxx wrote:

> Since no MMU notifier fired, mmu_interval_check_retry() returns false and
> walk_page_range() restarts at the same hmm_vma_walk.last address. Won't this
> spin forever on the unchanged SOFTLEAF_DEVICE_PRIVATE_READ entry while
> holding mmap_read_lock(mm) (or mmap_write_lock(mm)), svms.lock, and
> prange->migrate_mutex?

Oh, I missed that. I'll try to fix it.

Thanks,
Aveline Noir