Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1197039rbb; Mon, 26 Feb 2024 01:37:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUVGj9DkysNyfkRtZQ0jA3qEHQJ8G6fuD/Zfhs5Ir9Cy8p+Xz8Skg4UnZJWSuoVMUjF/NXiRwIwr1XOEXxQ4nUCyTaqYmP6S8Qb+nT66Q== X-Google-Smtp-Source: AGHT+IGaKuG62rkdc+Jc1X6GazOBcltJNYywiDz0iN4jwYOjYWTH0o1fWm2QkSXRJJeopUW5otZO X-Received: by 2002:a17:906:d96c:b0:a43:4ddb:a9cd with SMTP id rp12-20020a170906d96c00b00a434ddba9cdmr1600105ejb.37.1708940253854; Mon, 26 Feb 2024 01:37:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708940253; cv=pass; d=google.com; s=arc-20160816; b=szZO4OK24hKVcmjtTn5YmyH1C8K4shojgBm2Qn8j9xWu2NCWdU1BneJewFHXHv/oXN T8BzfSKOexrTAAtx3lz57TjBmhArmt+d3rCd0P2MeLogiKh0FPaFX23n/SlS/2dyC0hP Go4u7Yb2N/xQY0m+wocoPUJSxwNsgMwf3r2UHSoqzhdfbJHZ7WuwmvUfWtCGde1CKvCf 1iJlad8ihbGNKAQuRZzb6hkeVRidzhNZTqaGPhWHEd6GcuLhToyATxz7jibeGvMuVLZc FrKTvM7CXity0B1mNEfpC+u+jTC1QB4kIo7xCUZrNN4ZoJj+yKmYKj8mn1Cj1tEOltkt PJ+A== 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=OGvTh26T848JMN3BBqWYMoEdVO583KgJ9tSKxunJFKY=; fh=6WdJATkRs5z7a1sdn/YUKROqDJaHujnxpTGlqR0hdPQ=; b=GaOIRcc/PhMV3N+EhmuC6UiFcAC2uI0DzX/QLXv8qyjQBt0afmAtG+OxQApado38VQ fABevTCk3m6TDOyPlpunK9F+I3gHEU76mjxAipiyGwhD61bb8oS9c1/UaaMrc70YSCYf +Qyu9mWDEfXk7B2aKVjGSXBgSM7oTZKvpf+YgzjPLtAlxxmSGWpA015LrtPA8SIXE/PF tH+sxvcyeE4QbBwiLKIN98cPwnSviDObx85lPVAPXKpDunbVo3e+2gM0S9QyNiD3+YQm 9A1D5FwJnoiLZGpfzqduR+ktiLiVTaYP9YGBzuO/tmpkOMIEH6RNBF0r6esjRAdDfrIN p3+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=eG3iAHed; 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-80990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id si25-20020a170906ced900b00a43580c8cb5si588654ejb.1002.2024.02.26.01.37.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 01:37:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=eG3iAHed; 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-80990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80990-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 29F051F2635F for ; Mon, 26 Feb 2024 09:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6DD369303; Mon, 26 Feb 2024 08:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="eG3iAHed" Received: from out-172.mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (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 672DC200DA for ; Mon, 26 Feb 2024 08:57:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708937858; cv=none; b=cUcW3qySDjBxnBzmMATF7d9PbJas5QDZYlLbZhtGSopUhEkcs27QCl78lDMA1cmP0LvPQpNnHDVkb/sF2nlJXMh/3TtY64jsAL4Kk9uaC5EqrhLsktVkX5jjHTKdePXFHwZFoeTPa2/+5wEDykSsU3ZkZ7SRgnxNAyDGN2o/xfs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708937858; c=relaxed/simple; bh=euXXnvdMbMJMMfV4qlsZzqA+Y2K2gkmqFHN6luvwkDg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NrvaCfG9d2edZoNjmKsRH7g5jgJAjpAbkCMUvWAZmT/chYxg1qlHDowr6CdN3xbbE2vqDaCi3UGp1FwPv6uBE0e3hsFNBBBQYFK+GJ9mg9STUg0YQ2AS5SYIvX6AjiF571tTyX80zXZuEu7mm1uIa5DV8pKVzYCOJUtGsLLOU9w= 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=eG3iAHed; arc=none smtp.client-ip=91.218.175.172 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=1708937854; 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=OGvTh26T848JMN3BBqWYMoEdVO583KgJ9tSKxunJFKY=; b=eG3iAHedFz6CjYOcYV8vFg6YjWsHc5MirCyzm+JyrQ2Mni1FAtyC1+uK1men9uHOqAPs7/ OisnnlkKQgBVV1caAbHf6o+d9AQgI2Y3HELcZJvvFuBU0Kl0//ioa+RKNO0cPyvnRkwVcp d1Zs90/JLO1DM4gSrwwzZ2MGcBMvWvg= Date: Mon, 26 Feb 2024 16:57:31 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] erofs: remove SLAB_MEM_SPREAD flag usage Content-Language: en-US To: xiang@kernel.org, chao@kernel.org, huyue2@coolpad.com, jefflexu@linux.alibaba.com Cc: linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org, vbabka@suse.cz, Xiongwei.Song@windriver.com References: <20240224134749.829361-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: <20240224134749.829361-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:47, 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 since the commit 16a1d968358a ("mm/slab: remove mm/slab.c and slab_def.h"). And the series[1] went on to mark it obsolete explicitly to avoid confusion for users. Here we can just remove all its users, which has no any functional change. [1] https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/ Thanks! > > Signed-off-by: Chengming Zhou > --- > fs/erofs/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/erofs/super.c b/fs/erofs/super.c > index 9b4b66dcdd4f..8b6bf9ae1a59 100644 > --- a/fs/erofs/super.c > +++ b/fs/erofs/super.c > @@ -885,7 +885,7 @@ static int __init erofs_module_init(void) > > erofs_inode_cachep = kmem_cache_create("erofs_inode", > sizeof(struct erofs_inode), 0, > - SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD | SLAB_ACCOUNT, > + SLAB_RECLAIM_ACCOUNT | SLAB_ACCOUNT, > erofs_inode_init_once); > if (!erofs_inode_cachep) > return -ENOMEM;