Re: [PATCH v2 0/2] selftests/mm: refactor pkey helpers and fix mmap error handling

From: Hongfu Li

Date: Thu May 28 2026 - 04:39:06 EST


> > > > This series is version 2 of the previous patch [0]. In v2, the changes are
> > > > split into two patches for easier review.
> > > > [0] https://lore.kernel.org/all/20260518082120.3890552-1-lihongfu@xxxxxxxxxx/
> > > >
> > > > The main changes in this series are to refactor shared tracing and assertion
> > > > helpers into a common file, unify both pkey selftests on pkey_assert() and
> > > > per-test tracing for consistent diagnostics, and add missing mmap() return
> > > > checks with MAP_FAILED used throughout for readability and consistency.
> > >
> > > Thanks. AI review seems to have found a legitimate problem:
> > > https://sashiko.dev/#/patchset/20260525073026.27594-1-lihongfu@xxxxxxxxxx
> >
> > Thanks. I'll go through the problem reported by the AI review and make
> > corresponding fixes in v2.
>
> You mean v3? :P

Oh sorry, my mistake. It should be v3, and I've already sent it out.
Here is the link:
https://lore.kernel.org/all/20260527013825.1134225-1-lihongfu@xxxxxxxxxx/

Best regards,
Hongfu