From patchwork Sat Feb 24 13:49:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205866 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1155110dyb; Sat, 24 Feb 2024 05:51:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOJrLrl/p4MiyPMPqhyLS+naBTwa1u3/QGGv+QqJL+C8VlxxzbuTH4JJFQ1MBBPtFVSm0Fzxj+tefPg3uHTMSr/mB4/Q== X-Google-Smtp-Source: AGHT+IFKNXlH20Rt6KKVD6ZnqXu6+NS4Jz0fxxol9xjZf03YXKUXqTajEL+AXAE/gKoKgNCwu+Ml X-Received: by 2002:a05:6a00:9396:b0:6e4:eac1:894a with SMTP id ka22-20020a056a00939600b006e4eac1894amr3103060pfb.18.1708782714802; Sat, 24 Feb 2024 05:51:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782714; cv=pass; d=google.com; s=arc-20160816; b=hB0+159yP1KCsZ5aycI4nVGwHqJiToqWPuRullPmSvRM5hPs7UGDqfeiXt8lczVOLT 5Es/OnPplaquZPLvAn5Mf3JnMIbcjnETHgklmlwryCDWCjoo9qV1608/HERJpJoffatY zlUj0pZoUL79TrYLX6wg6MaWuqpgbdqOafO1pQuJMzobf4J35ZT2grZxh3mVfOKnNnX0 JNEdFBi7F8wDn6nWPi9vDesDCCX+Rkhdt5jo84J/9h1welE8olOoVN6uVnCRaPZzPrJL lZu5oVNevX8FFGHHl5FXqsnUyw1gFpgYx+GU6SSzMt6SXX2svQetbz7cB1s/FMxRSaIb Qyig== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=AZpXrxfoWoYAEcJ0c/7aW0g1dHtz8hxGPREGgOOuDvM=; fh=oeuDGQS3qL+mvoPE6GCccldhlwrUrNxDaZkwma42wbQ=; b=LZpeyDYXkat2YbXp49HGr9xO1gou/3SIxqq7bljX6cxP60hGaCeM/5DEuMgJZ37l60 rcNSb8zvyT1NnzEGR5Ce8jvLr9yeHz4QU6eedDqcHDYt5tWaX6uA/TgsPCuP3J/0tzuR /+f+PFzigw3FNusfOZjNr67g4azHS2rcTyYCSh951Hr+IcIXFEBbX87uCUfRgbxGfIyv VHrlD/PUh+Qtuq+9hnPNPV7VKyLaU8TNfyGoQswXSllMBRLxIQlxTRE5bNZN+lkSpf46 2RUNnbnwN6ZFdxyEG/hZjdeDhEfjz71IZsaEZ306l+fV6OVVah5JdJtRmroalOemj0RR 0m0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XaxyAx8G; 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-79668-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79668-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o194-20020a62cdcb000000b006e478495acbsi906470pfg.197.2024.02.24.05.51.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:51:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79668-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XaxyAx8G; 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-79668-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79668-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9C611B21598 for ; Sat, 24 Feb 2024 13:51:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04E664D5A3; Sat, 24 Feb 2024 13:49:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="XaxyAx8G" Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (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 05A73495E0 for ; Sat, 24 Feb 2024 13:49:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782592; cv=none; b=rZGuVhQYnk3/jyl4eh+N4Qi5ae0nTPVUFrOvKRfCbqUpZxDunOKa30nRozZjHI2kPzbFeIXyXbZ5cm1HCH+j2dA+cWIJwpQkHIWqZKWDiYGKmhNSTL9ON7+fwEhUPN9Oq2Av1osbLO5sbGxKtBB8MZFlkRDuYcC4I9oG7AOe1jI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782592; c=relaxed/simple; bh=psGqbKCZJvtTfj70n9oiQysWPutxSGHMFabRDoI2bdo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kT+HBDqhTvumncMeI14wAeCeb3iloQzNQlVxgmPrDY/no+Xx/XBK3DGQWG0BILe551m6TmlElFfoumnEpn5fJBmzWA2laN2TgKgXaTDg2jckgmcm8jmZ3IfFsjFAiqFxqkejLKf2FJDUGfcQb/ciJa9VDA6T8/Mf5+Zlk6XhBSo= 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=XaxyAx8G; arc=none smtp.client-ip=91.218.175.185 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=1708782589; 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; bh=AZpXrxfoWoYAEcJ0c/7aW0g1dHtz8hxGPREGgOOuDvM=; b=XaxyAx8GadkYGZQ8ZR8FYcgtx3HFu1k70horZpgRnKWox67XhHNakjOHZfsVV1eXapWBsD KHNFlKCIJOH6ye1CSnzVUz9Ppv8k/MIeXFYF8LQLbsevOXybNAtjlE4+N+hh3mVWhk3F60 apMfpjeqxjsaQDKJ+RxMzLxHLE6m5qo= From: chengming.zhou@linux.dev To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, chengming.zhou@linux.dev, Chengming Zhou Subject: [PATCH] net: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:49:43 +0000 Message-Id: <20240224134943.829751-1-chengming.zhou@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791788543741957568 X-GMAIL-MSGID: 1791788543741957568 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 --- net/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/socket.c b/net/socket.c index ed3df2f749bf..7e9c8fc9a5b4 100644 --- a/net/socket.c +++ b/net/socket.c @@ -343,7 +343,7 @@ static void init_inodecache(void) 0, (SLAB_HWCACHE_ALIGN | SLAB_RECLAIM_ACCOUNT | - SLAB_MEM_SPREAD | SLAB_ACCOUNT), + SLAB_ACCOUNT), init_once); BUG_ON(sock_inode_cachep == NULL); }