Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1072366rbb; Sun, 25 Feb 2024 18:45:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUqUlchZukyY5egKAsRLWJfwMWrunu5x6gIjqv849w5/04vwBJ5BhMjsw8BePzvTbOiGCLLsZn69V8JW5V88/mJztCpQ17Ywtk0D0tlAw== X-Google-Smtp-Source: AGHT+IHcCCYmuyS0YTuMzf6RLwKT8h5ULs8aqmNcnxRpU40FpsjV7DYtf77Dx+6RcOXdYh89xARO X-Received: by 2002:a0c:f58c:0:b0:68f:ad8d:7686 with SMTP id k12-20020a0cf58c000000b0068fad8d7686mr7859745qvm.49.1708915534469; Sun, 25 Feb 2024 18:45:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708915534; cv=pass; d=google.com; s=arc-20160816; b=WXtSHCyJ4DTT1CsrhHc9ANLxf9N+h0jf/A1k1+iD/K4S36MucoocYUXvZG6h+6JUac 8yjU6G4seB2AuXQTA1Vp1zClmLFWwlb7BhN0vuBpzOhQHwyXeT30JoSBTzpesFBImuuu W0PbenZ4cpoItpMJbjjlxySIm1kbwkzSPLi0N4xLK23gzmDhvpXtD8R1NsQZqS5tMAW1 LRoWdhpNWyzAyWAsQ3z4gDE0Et83czCCFcJOaQNTT3/wUuBtrocJYMlLuPlf/Ik4yOJ+ 86NJZN1qM6HcZmD/1qNuSpFzhTSY5tZTQOuZkNE7a4mQyXqL2exDb60l47AfL41ZD1Fr YWWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=LXnD7RPS7a0IM2G7o5VSGYEyaa6ZbvJGWVpct+px6Vk=; fh=0ckGlJ/f1zi7h/USLG5ex9Ns28iTZmc+3TEsejFez/U=; b=0cLZo+Hwm+b3kS9h81vqGADGOy06R/DTQCXcfAOU94YEyhst7B9V63hGUqScUCzJiq Lb5hYikXmqUg5jhTSLv/gIFtdEPqJ9d/AwlUBOvezXJtIFp22AuVTl6K9HtGmUldv+97 fk7a0+GFbgwyOBvxS+aT078Ovy3dcL1lWFpEIO3TQfysBH1Yq6PSUm1hoab8OAyYvzc6 d//f/qUEeJJXwJQ1KpDJ0Ro02QMRzdGTXeTW7kHK8PthA7pyZyfPTwoPsUJRWr0vrycu CJgPKWq/fBXSB5OSYwbJgpSBv76ulgHkwM2LplDY9OIlMTBU39cpS00FhKG0N1nimHTH n/kw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=IUItaLg0; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-80419-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gs13-20020a056214226d00b006900690a5f2si1685473qvb.147.2024.02.25.18.45.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 18:45:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80419-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=IUItaLg0; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-80419-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3C36A1C21181 for ; Mon, 26 Feb 2024 02:45:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC737FBE8; Mon, 26 Feb 2024 02:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="IUItaLg0" Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B89CDDDC for ; Mon, 26 Feb 2024 02:45:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708915529; cv=none; b=iyt02dSq8WTv9AxciY9DYIOMtkLyeX/4wvPs81mwTjZX1V/2XgZVE2yIzSkZ8c+Qz1u8tV09sSzjp3+d+Q/fnCyvi+RXL0rUkejehkvwM7BUvTLIl6B9X5Ile+S5l7aMYY0UeKiVrnB7ar8x3t4Y91LrgLoXVGbhCEbrvYRSfTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708915529; c=relaxed/simple; bh=PalAJumk0yXOFN5Y7DB8wpkp9aitcOfFF/UpakzgInY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ElsbHcFgGW0DU5nqXdbCqmQl9DnukhkiS5/EJArJ0MQzs5RdrmXi8sV2+szUQhmRtw+67jILRw7igOB3CTg8c036sSkO/t8cb1EKHGWLLBv4ZMzKzmZMEZszJyUnETGCwtM5K4u9LecnsFoFW7gYvDEK6EUn79uNt4bsBpYyYDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=IUItaLg0; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708915525; h=from:from: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; bh=LXnD7RPS7a0IM2G7o5VSGYEyaa6ZbvJGWVpct+px6Vk=; b=IUItaLg0MK+ENd5N/W7leikGICW7KA6Vzo4Zf+SyNTa+06xzai3RT6lBLdr+tZiMM8J9Q7 Vycgeex9KHPChU/o/AKjOd0ucEcKwjsxvfwPw73B+xBGHgB20qYW0FbOVldIhQhnV2rf0A su6RF5+18kIkaxumvHUX8w0nhTBLGSg= Date: Mon, 26 Feb 2024 10:45:01 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] jffs2: remove SLAB_MEM_SPREAD flag usage Content-Language: en-US To: dwmw2@infradead.org, richard@nod.at, jack@suse.cz, chuck.lever@oracle.com, dave.kleikamp@oracle.com, amir73il@gmail.com Cc: zhouchengming@bytedance.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com References: <20240224134915.829634-1-chengming.zhou@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Chengming Zhou In-Reply-To: <20240224134915.829634-1-chengming.zhou@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2024/2/24 21:49, chengming.zhou@linux.dev wrote: > From: Chengming Zhou > > The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove > its usage so we can delete it from slab. No functional change. Update changelog to make it clearer: The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was removed as of v6.8-rc1, so it became a dead flag. And the series[1] went on to mark it obsolete to avoid confusion for users. Here we can just remove all its users, which has no functional change. [1] https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/ Thanks! > > Signed-off-by: Chengming Zhou > --- > fs/jffs2/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c > index f99591a634b4..aede1be4dc0c 100644 > --- a/fs/jffs2/super.c > +++ b/fs/jffs2/super.c > @@ -387,7 +387,7 @@ static int __init init_jffs2_fs(void) > jffs2_inode_cachep = kmem_cache_create("jffs2_i", > sizeof(struct jffs2_inode_info), > 0, (SLAB_RECLAIM_ACCOUNT| > - SLAB_MEM_SPREAD|SLAB_ACCOUNT), > + SLAB_ACCOUNT), > jffs2_i_init_once); > if (!jffs2_inode_cachep) { > pr_err("error: Failed to initialise inode cache\n");