From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1C172F745D for ; Thu, 23 Jul 2026 03:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784778422; cv=none; b=m4frrIsX6dEHnpDU9+4CI9Vg+i2GMiVzVI7do+0035Z4xEtXCR3LZL4Q8ucaFRh8/tn4mJWKEIkIAMpLxAoee6IyIZT6xgvUmGuPxyV9QJ9qFac8XPX4BEH94XCS18uemMI0ASZh9AQQKXi6V+WlF0wU9tsmCjzcmzFhtkF9ggE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784778422; c=relaxed/simple; bh=S6N3WN9FWN9g/6a1lSjMM1aHdrtJNNoRK0SLWO1X6C0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AK2u1WkeNajw0ATXG3Kh16BJxpFupjhfhXjCBS8l1FeHva/qthuExqPkMmvoVXo0uXzEzWck5FbMFSNFNMenH3s6p7GBAmaofb9eLXxuqHB6iHlkLId7GZZatgPRXheZayWZh4UrmgLoGzOywhZYmaH/jVppca0p2sNTktotCco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nTRYtKiW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nTRYtKiW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BF911F000E9; Thu, 23 Jul 2026 03:47:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784778421; bh=053eY0ZCIcJIC8vBRuJvf9GYS0I3AC9NFOjUm6ZOPiU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=nTRYtKiWM+4aHRPfnlovPOxnr4+q0aqHwj0BpC0NDSg/h0XMtB45HxezSUN5B0ZPc 8yZ8GWqjtyWK28De/saqN41GPQzDaCiKly7XbnjWJoGE0KqAg8SY6+iQL93Y/uLfvZ cO3EhzuTtSdk98OoDw8ofz0x32SsDUrRTRcg7OsdQQ6nOeIPqcoS3v4ao/Wu/dCtlj fGe6D9rPAVB0mQJBZ3LMjMgfM//xucVn+MJ/PDOzqCgWO3+vBZecQTTEGPEBm6QvmG 1rfnJYhxiJvDQVAymO/a522M0TJvfIIcYGv6HdtjqcKmyx9gXgNscOjjTxO8g2RqMe lL1ZHrY9TngxQ== Date: Wed, 22 Jul 2026 20:47:01 -0700 From: Kees Cook To: Mahad Ibrahim Cc: Arnd Bergmann , Greg Kroah-Hartman , Mike Rapoport , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] lkdtm: use kmalloc() instead of __get_free_page Message-ID: <202607222046.D287828@keescook> References: <20260722230246.2869-1-mahad.ibrahim.dev@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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@mail.gmail.com/ > [2] https://lore.kernel.org/linux-scsi/20260704-b4-scsi-v2-0-7d2d21a810de@kernel.org/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