From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B562C77B7E for ; Thu, 25 May 2023 12:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240478AbjEYMLy (ORCPT ); Thu, 25 May 2023 08:11:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239674AbjEYMLu (ORCPT ); Thu, 25 May 2023 08:11:50 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FD4C1B3 for ; Thu, 25 May 2023 05:11:34 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2735B21D6E; Thu, 25 May 2023 12:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1685016693; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WkGheDbBXp2iDi36N2GwA3cdvzxEHyIFFGeJJC67HBg=; b=Bf2dksY98IF7baKzvdlQlv2rEGnCJzyLAlRugMaBcPPdSQeu+hZQKtd8P+f3bXWadlENTJ xWN/3hytzVQbFsqQiJcjOMVqrWiOtQq3pkP3c62z+OJI6ivkPtl9FQaZq1MH+5V4mxpz84 mTCpKFu0FdhQt7IL83u593YUAtpH5r8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1685016693; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WkGheDbBXp2iDi36N2GwA3cdvzxEHyIFFGeJJC67HBg=; b=wN+0hgnH4sIxIiyVOgnFfM4c2LnNvHFBhmZbQX5LNcOKmExAmr+aQfPDX6Xdn51t8LtaRj OzPeb2COwVFLibDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id DB1FE134B2; Thu, 25 May 2023 12:11:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mktqNHRQb2ScLQAAMHmgww (envelope-from ); Thu, 25 May 2023 12:11:32 +0000 Date: Thu, 25 May 2023 14:05:25 +0200 From: David Sterba To: Vlastimil Babka Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>, David Sterba , Christoph Lameter , David Rientjes , Pekka Enberg , Andrew Morton , Joonsoo Kim , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Roman Gushchin Subject: Re: [PATCH] mm/slab: add new flag SLAB_NO_MERGE to avoid merging per slab Message-ID: <20230525120524.GH30909@suse.cz> Reply-To: dsterba@suse.cz References: <20230524101748.30714-1-dsterba@suse.com> <70763661-b2a2-4bf2-f589-e0d71083f1bd@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70763661-b2a2-4bf2-f589-e0d71083f1bd@suse.cz> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2023 at 03:53:11PM +0200, Vlastimil Babka wrote: > On 5/24/23 14:56, Hyeonggon Yoo wrote: > > On Wed, May 24, 2023 at 12:17:48PM +0200, David Sterba wrote: > > work for your use case? (there are some boot-time slub_debug options described in > > Documentation/mm/slub.rst) > > Yeah, it supports globbing so it would be e.g. slub_debug=N,btrfs* > That would deal with the "too coarse" aspect slab_nomerge. As for "need to > be enabled on all testing hosts", is it more convenient to deploy a debug > kernel build on them? Might be because you do that for other reasons > already? Just want to clarify. Yeah, agreed. > BTW this was proposed as RFC few months ago but not pursued: > https://lore.kernel.org/all/167396280045.539803.7540459812377220500.stgit@firesoul/ > > I have no big objections, just wouldn't like to see its usage proliferate > unconditionally into non-debug builds. It would be fine for me to make it conditionally available, e.g. depending on SLUB_DEBUG.