Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1063924rbb; Sun, 25 Feb 2024 18:12:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVNYplJFULagoISqfUlg3V7kliwyhWs+ko438lyIfvOQq7hxJXGbwi2h8B10T1VUTvmFfEUx5ciRRuCMbVH4lwrg5QIR1YJasy4vWZ0ow== X-Google-Smtp-Source: AGHT+IGAecIYvd+D4tLQBeHYJhBL5woEnug89cXXSIK/w98RcAHco2OMgWVCJ2qRWp4PHtKdbcMS X-Received: by 2002:a05:6870:c993:b0:218:51de:95e8 with SMTP id hi19-20020a056870c99300b0021851de95e8mr7694250oab.14.1708913578533; Sun, 25 Feb 2024 18:12:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708913578; cv=pass; d=google.com; s=arc-20160816; b=xL7LLtH9YM7FCeC7y3iH6gYshCDVG6C+az+AOs6z4svj0fUQ+qWJaT1qEldrBCdwlp VlXbu1l3rknSHNO3Vzz8Z3S7WWe+wnITvQu/+oZ/6j6AtcAlmiQq0DOcAfcBurO4zhA7 /P8jP06dfbbu53E2ZuHcWOaP4AUshYZKgNHv2BGNNPeSIAzZRoDsdj4maNr/VNePJD66 hQOopMxg0ZmHj3DBR5vDhvTKcGM1VIyaGtXYLsHwFv1Z1Q6ZZ+8pQ1jmAqKDcuxD6UhS jEL5B7tPk16AFTYnZHGFVqYiADRjZe1IfMwAbnbCB540A4OCKJyl5DovovhsFmBh6ZiV AWjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:date:message-id:from :references:cc:to:subject; bh=YYyRzFopSnoC69PugYPiIh6+kmAFLVQdsSZEQxJP21g=; fh=6RMmDFEIzuT242VF96cCrjVbvyuKr7b4H4KovliL90A=; b=ZFN95vRFED6wNE6P+98KYpFMDoY8EsIyWivKTsN+DUTPFDkLwgkpm/ovO4ohv9GGVG Yu4GFY1WXWAgeihwApc3Js55tVjAbqqsy5BR741thRbKjJS+EEE5rMCV+CtC0yeiET+K 2ykOl+yBtmBopNdxqXv0ZnXOcJqQ0bBw5pGVRwpRX+7PwDguKNfmboIcE/CMRge7YaSC WrBVPZjPxcN+k9n9fxVJ8fziYG+Ejf+kBjWGjfzol29/hYu9mtTlPeOKV01JKpTSb9Pf G73fIXoIEV0WKL2LrTMv9KqJfqOKH9FUIQKi2KwYWUPw0CGM1EnCE7HcHm4eyA3dgpeB oIjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-80402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a11-20020a63e84b000000b005cdf488ba0asi2863647pgk.746.2024.02.25.18.12.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 18:12:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-80402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D8FF2817C9 for ; Mon, 26 Feb 2024 02:12:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2B85DF4D; Mon, 26 Feb 2024 02:12:52 +0000 (UTC) Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) (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 6FE5B33EC for ; Mon, 26 Feb 2024 02:12:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708913572; cv=none; b=p/sKzs8xtGT47RPLIbJKZmjUCHRSp6Ma3GU41WH1r6W2fOAJ7de84bidcOgqEac5yK6E0BtCrcHGAgqOhhweL1/JDXinr7hUEdr300tvXU+HRUHDF5dquBesbjzo+UdjQIaYGr82PhqF9hxyPLsxqv9ypXjpMLwf7jBg/Pd7tdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708913572; c=relaxed/simple; bh=LNUSX5FlxjU+3VyGstxX//Kkk9TFDlSniR7R7kgkApY=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=OQbPK7VK9v6QtZ4MT5GX8+CO9Ur+iEWiJU+QkIm/zCWLBKNECzxRHgTXe3zUVKOu4HH/HiKmfgaM+xe2aYxRnCuB85gJnEUzwBDNTmqnWUOZAweNaE6cmMzOpFEkFdfBAo/zUXW/5ttVvo6CsLkRh+5wkgWZH8zBLbX2T3Y7ouA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Tjkbt4VsQz1X3QJ; Mon, 26 Feb 2024 10:10:34 +0800 (CST) Received: from kwepemm600013.china.huawei.com (unknown [7.193.23.68]) by mail.maildlp.com (Postfix) with ESMTPS id DE5981400D3; Mon, 26 Feb 2024 10:12:47 +0800 (CST) Received: from [10.174.178.46] (10.174.178.46) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 26 Feb 2024 10:12:46 +0800 Subject: Re: [PATCH] ubifs: remove SLAB_MEM_SPREAD flag usage To: , CC: , , , , , , Chengming Zhou References: <20240224135217.830331-1-chengming.zhou@linux.dev> From: Zhihao Cheng Message-ID: <3384a81a-e6c9-6f2e-e66e-c9b9a9433c0f@huawei.com> Date: Mon, 26 Feb 2024 10:12:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240224135217.830331-1-chengming.zhou@linux.dev> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600013.china.huawei.com (7.193.23.68) ?? 2024/2/24 21:52, chengming.zhou@linux.dev ะด??: > 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. > > Signed-off-by: Chengming Zhou > --- > fs/ubifs/super.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Zhihao Cheng > diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c > index f780729eec06..8ae7648021a8 100644 > --- a/fs/ubifs/super.c > +++ b/fs/ubifs/super.c > @@ -2433,8 +2433,8 @@ static int __init ubifs_init(void) > > ubifs_inode_slab = kmem_cache_create("ubifs_inode_slab", > sizeof(struct ubifs_inode), 0, > - SLAB_MEM_SPREAD | SLAB_RECLAIM_ACCOUNT | > - SLAB_ACCOUNT, &inode_slab_ctor); > + SLAB_RECLAIM_ACCOUNT | SLAB_ACCOUNT, > + &inode_slab_ctor); > if (!ubifs_inode_slab) > return -ENOMEM; > >