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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CF36C7EE43 for ; Wed, 24 May 2023 14:27:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C6BCA900002; Wed, 24 May 2023 10:27:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C1B816B0075; Wed, 24 May 2023 10:27:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AE362900002; Wed, 24 May 2023 10:27:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 9FAB36B0074 for ; Wed, 24 May 2023 10:27:09 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 58A4F807C8 for ; Wed, 24 May 2023 14:27:09 +0000 (UTC) X-FDA: 80825375778.30.FFB3654 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf01.hostedemail.com (Postfix) with ESMTP id 123C54001C for ; Wed, 24 May 2023 14:27:05 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=CvxJjiwU; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b="pq5m/8gW"; spf=pass (imf01.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.28 as permitted sender) smtp.mailfrom=vbabka@suse.cz; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684938426; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=tXGazCQJhB+4Gbe14ojDjDepmPElagpzQVjU1cq9coM=; b=jZ/JjtAdCQbTs6cEfNwe/UVM6I2G+0dBRW55GhKsT7yWlTH5RpMbU25Ct1/vNQPefeQd3/ /vKrAm+5Ioa+3TFmLyOCRrB6BZK46+AJkjme7YuQnd8SpThNlO0t3rfRKU9BuD5SD9M89c x7VfWLykreT0bPp6ogRXMCC/Wm9NmIw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684938426; a=rsa-sha256; cv=none; b=OPK8LLLud1tYWFVKfzpUjrgWNCkxIpUjIwT+JeXTRTqyisS+JunyoBL/P0lL9shlWKrYmL IEczD0Lxjqjnl/WaKVIZQ8n3yRXB0eLH4Y6QQ+JoKjjhDMKCbvaK8f1ITWnp/RaDLH4lv+ i4+okFwFruUrZ0cbWARobXlwon9Buc8= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=CvxJjiwU; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b="pq5m/8gW"; spf=pass (imf01.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.28 as permitted sender) smtp.mailfrom=vbabka@suse.cz; dmarc=none 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 91B9522041; Wed, 24 May 2023 14:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1684938424; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tXGazCQJhB+4Gbe14ojDjDepmPElagpzQVjU1cq9coM=; b=CvxJjiwUfSN+kySKUn/EWA67pNGj3pzmDi1HbwCtE90AFBLWe7vv+d8M1Ij3FkSbIz4VTI gWvmGqepcrFlLCBiRAAf+FLKtDv7IxP6DOFYzfABdT3HuVDKFvuPv4HouAx5CI/XFNBevQ b0eo4MDqgOjEmRFkWmGBuHZT8lU/dcs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1684938424; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tXGazCQJhB+4Gbe14ojDjDepmPElagpzQVjU1cq9coM=; b=pq5m/8gWb5XY3U0bzLALdtiUNBu4jqNs3ujyoKqIbmne//9yJpXq+qLIx07FO9Z84ILL6b c/7V1xSDO+g6aHAA== 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 1777E13425; Wed, 24 May 2023 14:27:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id VWz9BLgebmSqKAAAMHmgww (envelope-from ); Wed, 24 May 2023 14:27:04 +0000 Message-ID: <4f690e97-b26c-1705-51e7-0d7ebc77d819@suse.cz> Date: Wed, 24 May 2023 16:27:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED Content-Language: en-US To: David Rientjes Cc: Christoph Lameter , Pekka Enberg , Joonsoo Kim , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Shawn Guo , Sascha Hauer , Vladimir Zapolskiy , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Tony Lindgren , Qin Jian , Thomas Bogendoerfer , Dinh Nguyen , "James E . J . Bottomley" , Helge Deller , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , "David S . Miller" , Richard Weinberger , Anton Ivanov , Johannes Berg , Andrew Morton , linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-mm@kvack.org References: <20230523091139.21449-1-vbabka@suse.cz> From: Vlastimil Babka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 123C54001C X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 7e8ddiuhm4zm39jzhofiqu9hc3isehcy X-HE-Tag: 1684938425-502637 X-HE-Meta: U2FsdGVkX1/zhmeH0N1H5/CtEyvVNBF4PQ+uwzJyqLCvKFTiFxiu0zjeYyDSOAeSn5lEO5RpWSQT10VCpcDGf5hqE5CndWHMnYKGRglIBpJJiMqgRpBdhwdWI1lp+5GM8VTd3WPmG3RABd4kVmNuCg2o3mL11DNgm0BxdlKpBfbsAetp28DeRrreY7JDclkUpS3QvnATHx/iayLaB89Xf3VXxEjsZwMJX5iJeee15UKNktdlXiQlUXQ4D707VTWwEZPIpCwhQi6SP3jgrdNPyGUmeBMAcUlqsx0nuPYq+7nyrsv3wC9wF3SusQ0OtcEZK3CX/1tdoNl0tSuo6+q3vpH3VPJEJjKzFIT29IcoNoJHP4AmbGcVNSRNDTdQGTPX4yId0d45XfyX2knVOrpXJH4kG3glyq6Bvipz57i4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0= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 5/24/23 02:29, David Rientjes wrote: > On Tue, 23 May 2023, Vlastimil Babka wrote: > >> As discussed at LSF/MM [1] [2] and with no objections raised there, >> deprecate the SLAB allocator. Rename the user-visible option so that >> users with CONFIG_SLAB=y get a new prompt with explanation during make >> oldconfig, while make olddefconfig will just switch to SLUB. >> >> In all defconfigs with CONFIG_SLAB=y remove the line so those also >> switch to SLUB. Regressions due to the switch should be reported to >> linux-mm and slab maintainers. >> >> [1] https://lore.kernel.org/all/4b9fc9c6-b48c-198f-5f80-811a44737e5f@suse.cz/ >> [2] https://lwn.net/Articles/932201/ >> >> Signed-off-by: Vlastimil Babka > > Acked-by: David Rientjes Thanks. > The Kconfig option says that SLAB will be removed in a few cycles. I > think we should wait until at least the next LTS kernel is forked at the > end of the year so that users who upgrade to only the LTS releases can be > prompted for this change and surface any concerns. Slab allocation is a > critical subsystem, so I presume this is the safest and most responsible > way to do the SLAB deprecation. Hopefully that timeline works for > everybody. Sure, and in fact looking at predicted release dates [1], if the deprecation goes into 6.5 then 6.7 ("few" == 2) is already end of January 2024, anyway. [1] https://hansen.beer/~dave/phb/