All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: David Sterba <dsterba@suse.com>
Cc: linux-btrfs@vger.kernel.org, vbabka@suse.cz, linux-mm@kvack.org
Subject: Re: [PATCH] btrfs: disable slab merging in debug build
Date: Thu, 13 Jul 2023 04:21:10 -0700	[thread overview]
Message-ID: <ZK/eJlk0jb1F4E2V@infradead.org> (raw)
In-Reply-To: <20230712191712.18860-1-dsterba@suse.com>

On Wed, Jul 12, 2023 at 09:17:12PM +0200, David Sterba wrote:
> The slab allocator newly allows to disable merging per-slab (since
> commit d0bf7d5759c1 ("mm/slab: introduce kmem_cache flag
> SLAB_NO_MERGE")). Set this for all caches in debug build so we can
> verify there are no leaks when module gets reloaded.

So we're having a discussion on linux-mm wether to just disbale slab
merging by default, because it really is a pain.  Maybe wait for that
to settle before adding per-subsystem hacks for what really is a slab
problem?


  parent reply	other threads:[~2023-07-13 11:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-12 19:17 [PATCH] btrfs: disable slab merging in debug build David Sterba
2023-07-13  7:38 ` Vlastimil Babka
2023-07-13 11:21 ` Christoph Hellwig [this message]
2023-07-13 12:03   ` David Sterba
2023-07-13 12:52     ` Vlastimil Babka

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=ZK/eJlk0jb1F4E2V@infradead.org \
    --to=hch@infradead.org \
    --cc=dsterba@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=vbabka@suse.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.