Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1031513rdb; Wed, 6 Dec 2023 06:59:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNvU8XpHfJ7T5Eod9FdEK6G5vNDJjYfxX1+Or4uiZ8YkF16kJ0EtcBv+0q0LBGb3D6B84g X-Received: by 2002:a17:902:f54a:b0:1d0:c28e:2ec with SMTP id h10-20020a170902f54a00b001d0c28e02ecmr912538plf.32.1701874790754; Wed, 06 Dec 2023 06:59:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701874790; cv=none; d=google.com; s=arc-20160816; b=Mh0UFv0rKjKNJSyGDcwTM9btCkEZ6h1OKMzZiRewv/nLY9qTRu+gI6l3MraN0aFatz MuC7vGcN3S4g1mh2aaiLJ3sUCxS7KlRIpEXgD0Y2u0Q2SYJskaOC85R7fi8q/O4D9gsV KJ2uJt3NeRqeapkLpkXQBX8tzJgYZUzCCUNkAIH+EAmRfs4SnE555dHXhw6SVFFEJwUz uuXWScU/jeNWFzDcvwMWFwTWcVP+DEYeUH4Ph31U8Qyu/9FwebjAk/e7/b7MY32OxQbG Pg/Bjtshcqb6WoYXiftmDfIL/vjbn072IO4pBbMhtvJ0cpz+eqxl625seNYOsskyGDNp jUwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=R1at7IyG8DjqPaac4gu5ja/Ia1siWXS2Vu3m1SIFNNg=; fh=DiVpx7roQLna9cVHp07L/aKaHJijexl7pso/wcc4O2Y=; b=XO/1Rs4PP93VUeq9xteU8R6DTJV4dh3ZJ5cISauvDKktHdZTW4uhsoxWzwFqBBfpki Fv/neJqDpz7Rhk9x+ToANAAIfCrTy0TEvM2hU4Ln++SoNW2ij1GJti+nFbhSN32kZ1Wy CBqJ2Nas6f3aHYBimAil4xEWt6/BnHi8TpgQErhER7NnVvTgn6b2cSvjDqqZCBkMUzdW bkBIYZfDXvwo4ZYZzsZem/1Bf7Gs4CxN+Ufc4VVD8l4ZGvWU//TMg8150VL+CRYM9ZA6 eyxN+96npj9QBMuaVCo84THoNBVhl1+u24XTQj9y1SsFMvMjoqPFEPX8ejrOMn58Q2SS v56g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l5-20020a170903120500b001d00c80f3b3si11657481plh.280.2023.12.06.06.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:59:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CCE2F83348AD; Wed, 6 Dec 2023 06:59:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379029AbjLFO7b (ORCPT + 99 others); Wed, 6 Dec 2023 09:59:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378993AbjLFO7a (ORCPT ); Wed, 6 Dec 2023 09:59:30 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22F1F9A; Wed, 6 Dec 2023 06:59:36 -0800 (PST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2472F21E31; Wed, 6 Dec 2023 14:59:34 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id F01D2136CD; Wed, 6 Dec 2023 14:59:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id Z+zDOVWMcGXmQgAAD6G6ig (envelope-from ); Wed, 06 Dec 2023 14:59:33 +0000 Message-ID: Date: Wed, 6 Dec 2023 15:59:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC PATCH 2/3] mm/slub: unify all sl[au]b parameters with "slab_$param" Content-Language: en-US To: Kees Cook Cc: "Song, Xiongwei" , "sxwjean@me.com" , "42.hyeyoo@gmail.com" <42.hyeyoo@gmail.com>, "cl@linux.com" , "linux-mm@kvack.org" , "penberg@kernel.org" , "rientjes@google.com" , "iamjoonsoo.kim@lge.com" , "roman.gushchin@linux.dev" , "corbet@lwn.net" , "arnd@arndb.de" , "akpm@linux-foundation.org" , "gregkh@linuxfoundation.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20231201031505.286117-1-sxwjean@me.com> <20231201031505.286117-3-sxwjean@me.com> <202312010945.7C5DB1FBB@keescook> <67b155dd-3731-489e-c3bd-333cb7e90801@suse.cz> <202312021329.86D56FA@keescook> From: Vlastimil Babka In-Reply-To: <202312021329.86D56FA@keescook> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Bar: ++++++++++ Authentication-Results: smtp-out1.suse.de; dkim=none; dmarc=none; spf=softfail (smtp-out1.suse.de: 2a07:de40:b281:104:10:150:64:97 is neither permitted nor denied by domain of vbabka@suse.cz) smtp.mailfrom=vbabka@suse.cz X-Rspamd-Server: rspamd2 X-Spamd-Result: default: False [10.13 / 50.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com,me.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_HAS_CURRENCY(1.00)[]; R_SPF_SOFTFAIL(4.60)[~all]; DMARC_NA(1.20)[suse.cz]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; MX_GOOD(-0.01)[]; BAYES_HAM(-0.06)[61.00%]; RCPT_COUNT_TWELVE(0.00)[16]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(2.20)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[windriver.com,me.com,gmail.com,linux.com,kvack.org,kernel.org,google.com,lge.com,linux.dev,lwn.net,arndb.de,linux-foundation.org,linuxfoundation.org,vger.kernel.org]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-Spam-Score: 10.13 X-Rspamd-Queue-Id: 2472F21E31 X-Spam-Status: No, score=-4.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:59:48 -0800 (PST) On 12/2/23 22:30, Kees Cook wrote: > On Sat, Dec 02, 2023 at 07:12:25PM +0100, Vlastimil Babka wrote: >> On 12/2/23 05:23, Song, Xiongwei wrote: >> > >> > >> >> Yes, they are already recognized by the patch. > > Ah, sorry, I missed that. I didn't see it when I skimmed earlier. > >> >> with a boot pr_warn() about their deprecation/renaming for several >> >> releases (likely across LTSes). I think it's not a good idea to >> >> wholesale rename these with no warning. That's going to cause a lot of >> >> surprises and broken userspace... >> > >> > Oh, yes, that's a good idea. Will update. >> >> I'd wait for a while with the warnings, no need to rush. > > Better to start ASAP, yeah? I find it a bit obnoxious to accept the slub_* names in one kernel release and immediately warn in the next one. I'd let the people who read the news/docs adjust on their own first :) After all, we wouldn't be warning about something that's dangerous if not acted upon immediately, or something.