On Fri, 29 May 2026 17:45:24 +0100 Lorenzo Stoakes <[email protected]> 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!

Reply via email to