Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp881884rwd; Thu, 25 May 2023 05:27:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ59ELbcZxoW/qH9XV78dMUosS9qRzwiNvJl3DyshrSOzCO5Y70LStmkkyOufg67AM69mEeu X-Received: by 2002:a17:902:f549:b0:1ac:4a41:d38d with SMTP id h9-20020a170902f54900b001ac4a41d38dmr1369175plf.51.1685017634438; Thu, 25 May 2023 05:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685017634; cv=none; d=google.com; s=arc-20160816; b=kgtTGtj49GjRRdCjZsvTgYqdAvW6UFwEqqQfGVshaEdf8lw2e6TxrhFtGwM9L4Azc6 adhkeraQHQ3cjcTB697fxamW1GGtdLgvrMJboIi7uls8bg5YDtAPKbGGk7txBFmQN8xG 7+2Pd2bjQaysVxWuQ1EAtDjvR6HCJSj6+so0VQIDV8fCPGfIxh5ijjdIC5lSCaYj0t1i kdHNhkDZcUXfxy62VGK7VZ+fKu/AcXhMSQ+McLD5hfs+zBoQJ7GOlSItlsgYtnk8GT9I eWbmKp1caMQJweiNj8oeZoJzbrqxeBDWnNfizeCRntxC7LLZnk0vqaHF2n37p+sQ6mzf T3qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=WkGheDbBXp2iDi36N2GwA3cdvzxEHyIFFGeJJC67HBg=; b=psuv+3U0a8KWP6uuDS//VgAFJnc1ZAeWJYDbA3D74LrQqwFAj/5qpdtuPmFSmhXy/7 K8fmtLUGVZFJxvjgTv1Ps2Utl/PwPjx2SYFLo48mQajCdbydZWvRDXZLvnsEUD972Mzu NLXb/4fFXgbUqKMRBtHbC+I0VZQrzq6tF2bqub5ofo+ZTSWP8/pXKRuLztEr9CYXEZuW o7orLNo0VIl4QE5XnhFQpsnb9j5zWO55UFHnMWqvcryic8gQ7cJEg4Mfj4Xs8GJ67gMG oiHlFytSd4kzOzgXyWYXSUO3soJEJvoZFBRPntYAziBGmh/JIAJZrdfaMndA5aHcE74s J1pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Bf2dksY9; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jc7-20020a17090325c700b001a6cf4b4d6dsi1046167plb.289.2023.05.25.05.27.02; Thu, 25 May 2023 05:27:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Bf2dksY9; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234832AbjEYMLx (ORCPT + 99 others); Thu, 25 May 2023 08:11:53 -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) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.