mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Harry Yoo <harry.yoo@oracle.com>
Cc: Kees Cook <kees@kernel.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lkdtm: use SLAB_NO_MERGE instead of an empty constructor
Date: Wed,  9 Apr 2025 09:15:42 -0700	[thread overview]
Message-ID: <174421534033.1129976.14293587873896344735.b4-ty@kernel.org> (raw)
In-Reply-To: <20250318014533.1624852-1-harry.yoo@oracle.com>

On Tue, 18 Mar 2025 10:45:33 +0900, Harry Yoo wrote:
> Use SLAB_NO_MERGE flag to prevent merging instead of providing an
> empty constructor. Using an empty constructor in this manner is an abuse
> of slab interface.
> 
> The SLAB_NO_MERGE flag should be used with caution, but in this case,
> it is acceptable as the cache is intended soley for debugging purposes.
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] lkdtm: use SLAB_NO_MERGE instead of an empty constructor
      https://git.kernel.org/kees/c/9891398efae8

Take care,

-- 
Kees Cook


      parent reply	other threads:[~2025-04-09 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-18  1:45 Harry Yoo
2025-04-09 14:13 ` Harry Yoo
2025-04-09 16:15 ` Kees Cook [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174421534033.1129976.14293587873896344735.b4-ty@kernel.org \
    --to=kees@kernel.org \
    --cc=harry.yoo@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®