Re: [PATCH] lkdtm: use kmalloc() instead of __get_free_page
From: Kees Cook
Date: Wed Jul 22 2026 - 23:50:38 EST
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?
--
Kees Cook