Message ID | 20240224134803.829394-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79657-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1154296dyb; Sat, 24 Feb 2024 05:49:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW6JKl9YD7P7gWOj65fGuBO+0IBDUoJ9UuFze27Fwb03prHzokKetOO7xgQEUnnG9nih1EE9VAGZW9pTIDj03q82MaXdQ== X-Google-Smtp-Source: AGHT+IFYqZBbk3PNuPgy6BHP5FOJxX6q+pXkwh/MllHXH/4bX3eWuW1Oxea64NZLVqC8zwrMFSsY X-Received: by 2002:a05:6a00:2310:b0:6e4:cf7c:6c28 with SMTP id h16-20020a056a00231000b006e4cf7c6c28mr2700872pfh.22.1708782582379; Sat, 24 Feb 2024 05:49:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782582; cv=pass; d=google.com; s=arc-20160816; b=gMyfsT0d2SAU7w/jWlGtKsCoZaXXE7vsESroNwWvzDzUf+T2EejWk0e2xUV14rgPzs +G3KoagT/KqgkIDZIoUHebZ/HugFZF22PD2PpJ6gG7z66fQ9EP3cP8myqHEXeKpyJtlj 5NLavTbDUmRly4mZLhfFonVjkNG2Gq8+d9qS0uX78wRmJnEaJ9Ezz1loLah1sWXp5yjY SS6LhQ2w7PAwyZ/D2viHep38S0sV+VMX7vM5XQOT06uLvvgVmY0XEZAsptvWhqjDX3KO Wz8T3BQH7xzXc+FkcIzt/uTi0aZPdXtL91zpci7xvbs9ZPmq7nxKOVfRGMlrRI/lAWtM mmbQ== 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=gM2elDK8BW00zbxGp1C738caKYJ1uhpdKk71pGsCu7Y=; fh=/vdrTJpmm+Rm/Cug/7wAPBmZsdvy7p2AwGgHJC0U2iw=; b=JpS5RKU/qeMua5fZsyAst0Hus6Ac27nDMzwiVsC+EH2pfxq1FR2cVqQK1/T+FL1M1h A0kGLhbksVfXhtG/bRr3ZHiStXYcwndfzrTfCQpl/moDIYNTYWKr3QjCC0qsJ+eYsbCR 7GN7+VRtReRx7gQCTDGxnvGAsUzrl/+Z/R6yyjHA08IGG1ZLV3NYtn7aVYiqMJFMvJXC 73hVw9tOJRJc4QVy4e2jvI7TpqVnQnLj2SH0vdLZVQ52NItKq5YB89jJrBNQjVRuRo+q 0LPqdmkmaOPFobY7fVn14CxNBrHKqq8BJb7jLvgB5qJC0s317xZ6pnKtnlmvNwOXeXh9 OiRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=BI1C8Hva; 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-79657-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79657-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 i26-20020a63221a000000b005dc36761adcsi954169pgi.175.2024.02.24.05.49.41 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:49:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79657-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=BI1C8Hva; 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-79657-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79657-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 CBE24B21688 for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:49:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA3F847F6C; Sat, 24 Feb 2024 13:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="BI1C8Hva" Received: from out-183.mta0.migadu.com (out-183.mta0.migadu.com [91.218.175.183]) (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 D6FA541C74 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:48:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782501; cv=none; b=aVz4aYuMKaLDjnbl5dhajdL2FyDd3/OA4JwfGnKS0kQscBn+46ASHrfOSu1Tc047NUE7OOcw8w8hG0wXef2w62aUcxK5pThQlb23b7WRO9iAKrXpvQNMUkFCO+1NsoQp+/zbC76n8AP7C7VPekFqTtJcPdaXgZs3wANMtJUF0aE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782501; c=relaxed/simple; bh=j6m4PB9nZL+Vs/fyNF5Wkaix8i5kA54i3RrzOAcSgV8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=mFwqREWlYHkVzEJ+HVACFE4JbseqyjYyZ+LWLPvz77/kBzNKA+Ry6+BIwDYUNkPJwP9nzgOULO08IPN20qZYI3cufrwksJ314gQPqePBLnDsVegsRkYH5KSvLHZk3iFcA2bMyH1+kDXLgiL7xY2V1fb9zqpGbnoU/ZYHJxSiNnI= 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=BI1C8Hva; arc=none smtp.client-ip=91.218.175.183 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=1708782496; 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=gM2elDK8BW00zbxGp1C738caKYJ1uhpdKk71pGsCu7Y=; b=BI1C8HvanvpJ4+pbCCjt7e+Hogey6YRVqmNgbMXsOKbaPCqHFmPRAjd2h1s9AE4Rjt+HpF PKbR2lTX42RIUWEOCquQhHJi2jOlC+GhI3TZQLat66yKDQHaYstiLb/ZNmD+DhhQFkGYXd ZEagBqUmp2uGVzVJUjZb0Qm794cZY48= From: chengming.zhou@linux.dev To: linkinjeon@kernel.org, sj1557.seo@samsung.com Cc: linux-fsdevel@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 <zhouchengming@bytedance.com> Subject: [PATCH] exfat: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:48:03 +0000 Message-Id: <20240224134803.829394-1-chengming.zhou@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791788405000498190 X-GMAIL-MSGID: 1791788405000498190 |
Series |
exfat: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:48 p.m. UTC
From: Chengming Zhou <zhouchengming@bytedance.com> 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 <zhouchengming@bytedance.com> --- fs/exfat/cache.c | 2 +- fs/exfat/super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Comments
2024-02-24 22:48 GMT+09:00, chengming.zhou@linux.dev <chengming.zhou@linux.dev>: > From: Chengming Zhou <zhouchengming@bytedance.com> > > 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 <zhouchengming@bytedance.com> Applied it to #dev. Thanks for your patch!
diff --git a/fs/exfat/cache.c b/fs/exfat/cache.c index 5a2f119b7e8c..7cc200d89821 100644 --- a/fs/exfat/cache.c +++ b/fs/exfat/cache.c @@ -46,7 +46,7 @@ int exfat_cache_init(void) { exfat_cachep = kmem_cache_create("exfat_cache", sizeof(struct exfat_cache), - 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, + 0, SLAB_RECLAIM_ACCOUNT, exfat_cache_init_once); if (!exfat_cachep) return -ENOMEM; diff --git a/fs/exfat/super.c b/fs/exfat/super.c index d9d4fa91010b..db6a2ebed94b 100644 --- a/fs/exfat/super.c +++ b/fs/exfat/super.c @@ -811,7 +811,7 @@ static int __init init_exfat_fs(void) exfat_inode_cachep = kmem_cache_create("exfat_inode_cache", sizeof(struct exfat_inode_info), - 0, SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD, + 0, SLAB_RECLAIM_ACCOUNT, exfat_inode_init_once); if (!exfat_inode_cachep) { err = -ENOMEM;