Re: [PATCH] fs/proc/task_mmu: do not warn on seeing non-migration pmd entry

From: Andrew Morton

Date: Fri May 29 2026 - 19:43:11 EST


On Fri, 29 May 2026 17:45:24 +0100 Lorenzo Stoakes <ljs@xxxxxxxxxx> wrote:

> > + /* Exercise pagemap on a PMD device-private entry. */
> > + ret = hmm_read_self_pagemap(buffer->ptr, npages, self->page_size);
> > + ASSERT_EQ(ret, 0);
> > +
> > /* Check what the device read. */
> > for (i = 0, ptr = buffer->mirror; i < size / sizeof(*ptr); ++i)
> > ASSERT_EQ(ptr[i], i);
>
> Thanks for this!
>
> though, hmm it really feels like you maybe want to add this as a test and
> make this a series :)

yes please!