Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1073756rbb; Sun, 25 Feb 2024 18:51:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW6Njlupps94BO7fOePo7toGaAIkLQnpfq4sGKhZS+R5ADt6+sEyqeug8XzJa4igafWNjZpi7QvQOm5kK6DciJb39zkTMHpjS9HTBmZkQ== X-Google-Smtp-Source: AGHT+IEhqJcS75W3P4ZTKQKZA8YwFmaNww4/crhVY3Ew0tp0VAslntdoD2UxcgwigITxfB+mCECP X-Received: by 2002:a05:6512:1093:b0:513:d1:7716 with SMTP id j19-20020a056512109300b0051300d17716mr7052lfg.68.1708915881566; Sun, 25 Feb 2024 18:51:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708915881; cv=pass; d=google.com; s=arc-20160816; b=jVU7HnELF+mivrscXrw2TJv30VaAD2QjdlvPKmsq6y6pR4t98b3Gnl6C5Yu/j+dBSt em2Wh0QFD+cyVV39isGYPJS+4/zw51lywErFjsrIrtlJb8hU5d3eVs+TJa5WUBYFaWxR 2AWBJADFdcx1lsRIwKt3dEKkFS0lxq9pcl33CA6SvBN2GjvKkxwQvnM8hlMT2P9DnxiI C5ePbVg8A+EuLC4JknSIP/DBsGTdF+VDfdn3jgp4PCYQNpUeGyo9+00TlL4q55k6ahnP 26Ip+UkOYHQMtUjXHhdH/QHnuAxybbnXV7k/SsurnYTjBIS/BtCGIxw7y4tl+nJkNBXc /wSg== 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=ZpE4nKekj14CCL2IymlyiWfeetzm5jT90k6NA0P2Cno=; fh=A2g0/yu6w9/jB+IHrXBUjYs++AwvYZOcoTooZ7zNoMk=; b=RzyIfoRxLDWiq6Mw1Zk1GPu99EvgkMnj1s511CKrItu9nj5l3WRFeEyc0Sy3sbwlkc F2SHS56KvSKmhqrYd03wHNApvBdSgoHPFz6oZ08WGagIKGJgGiDg7Blq2TDAOV/HOP8Y Jt/PeQZnsfNx5PYUXxPIbiAEsbY/1eaUZoN4XlxKQ87+qI6itUWhH8AMmWlIsoRbzaRJ 4p9RGiR/Fl0sZ557wGmD+9T2nZF5M7J95uzazytOEhuw2O/YolXRtzvz/9AFz8eoHx9Z UA+vCSju/7Jx8vVOlYY7WXyYd0Jj+JDIV+19QgNMkCPRvmKO0zFYL9MpqMF67UetVwGa IlfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=AAVh+6v9; 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-80425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80425-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 t13-20020a056402524d00b00565dd44c1d2si727738edd.94.2024.02.25.18.51.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 18:51:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80425-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=AAVh+6v9; 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-80425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80425-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 4B7C91F2222F for ; Mon, 26 Feb 2024 02:51:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B424EEDE; Mon, 26 Feb 2024 02:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="AAVh+6v9" Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (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 EB9E4FBEF for ; Mon, 26 Feb 2024 02:51:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708915875; cv=none; b=VBH4kliLt2AvbovVv0Q4b7qtHc8ZHOeZuvDssa1GZir/F+wdCKdQzeO6SZs4cEw9DAnWjbRJChJEreZKhfRYoAQJSGYvgf6pWb2r7xJ4Jib2NqqZFgt8qlrD9FWc7IfcWC5grjCBJ7KjlnlCf+huA0Jn2Jcch/Yzq0iqb26QulI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708915875; c=relaxed/simple; bh=EnOHlUnDap/4ImmT/XsmmXsgwlD7LDaUp8b6N0konyM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KZ3hQjv9X1z6LAo/EkFTg890d9AEZig3m5sCT/z7t2fHo9DmRG2eLmUTH8rczLJefM0G109vG2ntROsoasG174T4zYOjJYBS6G9Jlmn5/fTvun6RQJGx8WqAVg67jk7BI2ULXc8fRUovdIAhhSAdDkeAUi7GQrquYNfW48gjaxM= 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=AAVh+6v9; arc=none smtp.client-ip=95.215.58.176 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: <2de0d872-0e05-4fbb-8291-0c60487ccd8d@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708915871; 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=ZpE4nKekj14CCL2IymlyiWfeetzm5jT90k6NA0P2Cno=; b=AAVh+6v9wFk4dmisJwwBRgraOeOiFyGFIwh+4C65jKf/9TZKgQLn5XY4/xwB26xUcqbPN1 4/ovo7RE0VJgUzevD2xr/iCFfCJ7SsfeXOhXCqU0ppSAxvNjnXBTTvqfXNGmbMy9pE5apV CBQ213bJpXBUrmcJdffyoq6eRcJCAzM= Date: Mon, 26 Feb 2024 10:51:00 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] 9p: remove SLAB_MEM_SPREAD flag usage Content-Language: en-US To: ericvh@kernel.org, lucho@ionkov.net, asmadeus@codewreck.org, linux_oss@crudebyte.com Cc: v9fs@lists.linux.dev, linux-kernel@vger.kernel.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com References: <20240224134617.829016-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: <20240224134617.829016-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:46, 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 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/9p/v9fs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c > index 61dbe52bb3a3..281a1ed03a04 100644 > --- a/fs/9p/v9fs.c > +++ b/fs/9p/v9fs.c > @@ -637,7 +637,7 @@ static int v9fs_init_inode_cache(void) > v9fs_inode_cache = kmem_cache_create("v9fs_inode_cache", > sizeof(struct v9fs_inode), > 0, (SLAB_RECLAIM_ACCOUNT| > - SLAB_MEM_SPREAD|SLAB_ACCOUNT), > + SLAB_ACCOUNT), > v9fs_inode_init_once); > if (!v9fs_inode_cache) > return -ENOMEM;