From patchwork Sat Feb 24 13:46:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205843 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1153220dyb; Sat, 24 Feb 2024 05:46:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+Z1u5LSPebS8/K/Xunny6E3xg04cf+HhNvvzukbGicold3pHWRTwwoQWERA6p8UYkfFXk4hcrdOQI20zmiOKJWle+yQ== X-Google-Smtp-Source: AGHT+IHA5Wv1AUQLt0nWtDYiaRiyR6KwZaV2kHkB3Or+rN8mwGL5eA/iM3oQTEjxIX+KU8EaktE1 X-Received: by 2002:a05:620a:4012:b0:787:c697:7d81 with SMTP id h18-20020a05620a401200b00787c6977d81mr957775qko.11.1708782406554; Sat, 24 Feb 2024 05:46:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782406; cv=pass; d=google.com; s=arc-20160816; b=fwNyveG70ggiF0tisr4qE2rIZi441AKQPWWpj8vZ7SjXnISPqH9vXdB+cwcYi9Mj1Z oxzoOuanw41cIvnBrmr9RdALXhMUyPJmdeEolfjnhCCQdpejS/2oZt3ERpK1frSz39R5 DWrPd99Y37uNqhPlKK3/gWP5jRYhDbi9+XE+s04rhjTqvkQYlkDEUr5iJjqMD+0xOE12 4lA4KPOuLHSs/gc3qFTgxCV+empCFqXXLR7n3ZGBU8MrnUWE5XoH2znyhdnuoJfs9HBH +0Bz1i1xD9t/lpqRh52wZgi0KLHC25KPuvoW9pvNBp6QE1PE5R/HVxTRzyCm7Jh8oe/5 SQ9g== 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=xPD7kQrj4QVbyIPYEPjgeoIpw5sjNPJYGKf/24Kh9AY=; fh=2e/pKxaRwH2axr6fYw/MH8BKdrsuiXUVosIyKF1tNNo=; b=0x+aYjD4IF5bHBoXKWMMHJ3ogBM7rtW5OmpBP12HPPgm7josDa7jZ+QQEMEysB3Ggy L2y7SaSw8zXNFJGq9mxayt0FHtKCNliUfeDNiw/wQ7h9qiNtKmV1Mo9EyPNb9tuUlBTB pQNp5v5qRRoCswZrzVruOoLHj9eMVxo4tnMBFieJ4vhehVEx3ikaVswldxlrNKLWR9r7 3S8mF9wAAELqmAINv6qJM4cNrWJAnHyot/ZhCMOLQQ8MznDOAKXTJQvGiGrnWYtAiGFa LUQ/q7eK+UaDn/d7keVQEy/M6Lxp7pJKtPSIFer5qkUkObB3CD1bYbbJuKEsczKDxEwr X/SQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=M3xfCMXr; 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-79645-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79645-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s4-20020a05622a1a8400b0042c4aa5b02esi1161277qtc.610.2024.02.24.05.46.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:46:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79645-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=M3xfCMXr; 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-79645-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79645-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5296D1C20E40 for ; Sat, 24 Feb 2024 13:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AACFF42066; Sat, 24 Feb 2024 13:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="M3xfCMXr" Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [91.218.175.173]) (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 70419E559 for ; Sat, 24 Feb 2024 13:46:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782393; cv=none; b=niyFAZTFVNMcBam/CtuwE8vtOwbnwsvE4w17XxPxRrvA2kIstyJCAuKsGn7m/2PZM2cvHiLQoO9gqoKpDLF5M+i8A7SJ0rQd/4Yy9QwPXZ9aNdSRPWgmHItNtrL42pZcqkDji19Wd470tv068Rm+QQJ8M76jNbOn6bvlKFHryCg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782393; c=relaxed/simple; bh=znUWX/WHxO8E1DbbTZpiulV0UzSDhdKmfWMj15MOtIM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jsdXtSVM4XsBOGGYkUjxxbGZF2U++w5VWgybwlePNTGBU/RY/09Vk31gUBgw5MHYcltDA0qYSru18MgIsCKXlEB/AocrfQdi/3GYEAKAfToPdHGVS0FdWumNm5gHkJXxVQYveJowshsOwaL1BplnouPS7x7jvYTH3/+9HLYTnhM= 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=M3xfCMXr; arc=none smtp.client-ip=91.218.175.173 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=1708782388; 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=xPD7kQrj4QVbyIPYEPjgeoIpw5sjNPJYGKf/24Kh9AY=; b=M3xfCMXr476j/PJU5PkafSSrNC1/XpanlWyf+pMtahIvilWPTFF6BiCr0lbtfrBJrgEj1f m2e+Mq6e8ebaxVQVXha97vHCKqAXNy4vFT4RpdpjckByIjdfzAOTOwvF6J1R97+Wt9sxOk aeqiuWKo8wFd/C3/a3AbjwY5hzlHKPk= From: chengming.zhou@linux.dev To: ericvh@kernel.org, lucho@ionkov.net, asmadeus@codewreck.org, linux_oss@crudebyte.com Cc: v9fs@lists.linux.dev, 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] 9p: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:46:17 +0000 Message-Id: <20240224134617.829016-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: 1791788220712219155 X-GMAIL-MSGID: 1791788220712219155 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/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;