Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2313053rbb; Tue, 27 Feb 2024 19:13:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXhxscNZcxZiVDital6/lTQvl4HN601sRLtpdC1iRlh1rCyv5mpMhtI9C2vlMQLW5YtydKe4+roc1KTXqmPn+xn6kWBbY7N87Hw379rWw== X-Google-Smtp-Source: AGHT+IH7ieM3djdzGkmGIHFu9UfzI5MoMos38N5NNqOyd4qK78ad5fRIrHuJyNYG+sesZcn2EKFd X-Received: by 2002:a17:906:1917:b0:a3f:7c43:a0e5 with SMTP id a23-20020a170906191700b00a3f7c43a0e5mr7551608eje.60.1709089982164; Tue, 27 Feb 2024 19:13:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709089982; cv=pass; d=google.com; s=arc-20160816; b=I5Gxu19g8Y35n9YN0yYeWqLC0o9ldF81HF7ZvgnksDWzkwTVmAsB5K2me3GKHTKzwg z72zUVIP70a8PtNR5+ULGswFdWYp5Eu5SFOLV5jaYkwz0hel7sqV9DIrn4eJWzAyw7Ok 88HGi/Hfr3cReFQ+jY6sGbn+AZx3xYjYP8E6FToGIr4W7MPXOa7ghoQytGXAipZCTjsF 8uFfWc3oSRg1VYi4diMXMwooldlZl+fRfRb+ItbzgO7q9h4Lz0CbUyi9LzB0wsXugRTV cVYFy2XqE5AVtLn58004+nif7diFL0/aEAKUYaB/OJPOk/ipUoxIjEXgsx7J3Fi83GO2 0iVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=L+CfwfwwXs35+oys4wWB8aNc/E0TpV+2eGWwsWt9upU=; fh=08HD79SG8l7BuZKzC/DiQqWVRoc67PNUlq02gH9QsRs=; b=cKcefU1k/CB5D+gCOb3jNKf9XgCtzw30rIIOHM2oeOcr+nqXlDCHpBM+GY8Gk5g5lB wt5gbJf3b0hMijO5QB+r9TulnX1pKsgWCB1o9R5IGXMyl44eTQvyXrl4/O/+pGJCcv3T B96Huck7Ex//8UIgKCBdy6MmY5fsENo/HEbvvmLElMf/KmEOzYj0LhQOSlpdRdpU1wlD Rphe5RTTGpWfYTdQyJ1SNhk3AdrITRNTBJljNlo/ITK+qMA2JCc8S/D4f4zf+u7aul/b m/GuxXhVtiGisFADITDF59BNw6aR9syR4agXImcMOOeYm/xnG98gH9Xw3HJ+9IE1t9/d AYtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=OxgEMrqf; 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-nfs+bounces-2104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2104-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. [147.75.80.249]) by mx.google.com with ESMTPS id r4-20020a170906a20400b00a43c5d522a7si827783ejy.103.2024.02.27.19.13.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 19:13:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=OxgEMrqf; 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-nfs+bounces-2104-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2104-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 D7A3A1F222CB for ; Wed, 28 Feb 2024 03:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9AA21D53C; Wed, 28 Feb 2024 03:12:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="OxgEMrqf" X-Original-To: linux-nfs@vger.kernel.org Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (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 CD6122107 for ; Wed, 28 Feb 2024 03:12:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709089978; cv=none; b=YANWDiNz5AFdDtNmQ125d6aoJIL+gqQKg49NN8RJC7cbwunQAciHd2tmODxwrXZ3ZoEFr68ttui5xN3AvFbJ0Z2XvutyTvO8xi/gBh9+1y5Mkfhg/OtW8gkLh4+4nm70povzmQpe1ViZSwObCfowp7FDfdb9YfscQ23xHMafLxQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709089978; c=relaxed/simple; bh=I/eHMEcO16yx/j3JgMMPsVzPtktZD6jAemkrCGo4SZA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=exwg3za4Of/jKgHxpOsqYuylz0hziuo14rPCovhfD6CnaTkIYlFVfBl99Py2ILnr+YK46Eu+6PU5YCuHPFRBSKaPTPRB9MwK+aoSdIjDMhZv965xzznjP5CKR8bF6LH7cZ+VMjwjjy8gGxtmU97k3VjQKl40Ck1usiVCl/vKj2k= 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=OxgEMrqf; arc=none smtp.client-ip=95.215.58.181 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 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1709089974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L+CfwfwwXs35+oys4wWB8aNc/E0TpV+2eGWwsWt9upU=; b=OxgEMrqfMixwlftCYzgZJ2wrKqlNkNHhuZS7xYgKBnvr+QFaAbsx3OkiuJknH2SP6MMlpU GmShJH7h5q+Z4fm9xp9jtrV7rhLLoNycKjx8RMiugaEmRayvn3W/Jd8L2XyeeYppnHnAW7 C9FwoK4hZO7bn7+dxtzm4q7WyTEnY2Y= From: Chengming Zhou To: horms@kernel.org Cc: chuck.lever@oracle.com, jlayton@kernel.org, neilb@suse.de, kolga@netapp.com, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, Chengming Zhou Subject: [PATCH v3] sunrpc: remove SLAB_MEM_SPREAD flag usage Date: Wed, 28 Feb 2024 03:12:34 +0000 Message-Id: <20240228031234.3512969-1-chengming.zhou@linux.dev> In-Reply-To: <20240227171353.GE277116@kernel.org> References: <20240227171353.GE277116@kernel.org> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Chengming Zhou 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/ Signed-off-by: Chengming Zhou --- v3: - Improve the indentation, per Simon Horman. v2: - Update the patch description and include the related link to make it clearer that SLAB_MEM_SPREAD flag is now a no-op. --- net/sunrpc/rpc_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index dcc2b4f49e77..b639d8eb6080 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -1490,7 +1490,7 @@ int register_rpc_pipefs(void) rpc_inode_cachep = kmem_cache_create("rpc_inode_cache", sizeof(struct rpc_inode), 0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), init_once); if (!rpc_inode_cachep) return -ENOMEM; -- 2.40.1