Re: [PATCH] lkdtm: use kmalloc() instead of __get_free_page

From: Mike Rapoport

Date: Sun Jul 26 2026 - 03:03:06 EST


Hi Kees,

On Wed, Jul 22, 2026 at 08:47:01PM -0700, Kees Cook wrote:
> On Wed, Jul 22, 2026 at 11:42:25PM +0000, Mahad Ibrahim wrote:
> > For context, this is part of the broader __get_free_page() -> kmalloc()
> > transition Mike Rapoport is performing. I noticed it on the mailing
> > lists and found this site which wasn't covered.
> >
> > Some background:
> >
> > [1] https://lore.kernel.org/all/CA+55aFwp4iy4rtX2gE2WjBGFL=NxMVnoFeHqYa2j1dYOMMGqxg@xxxxxxxxxxxxxx/
> > [2] https://lore.kernel.org/linux-scsi/20260704-b4-scsi-v2-0-7d2d21a810de@xxxxxxxxxx/T/#t
> >
> > I apologize for this messy reply. I thought I had added the context, but
> > I didn't.
>
> Do you want this to land via my tree or via the series Mike is doing?

I'm not actually maintaining a tree for this, I'm sending patches to the
subsystem maintainers, so your tree would be great.

> --
> Kees Cook

--
Sincerely yours,
Mike.