Message ID | 20240224134816.829424-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79658-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1154312dyb; Sat, 24 Feb 2024 05:49:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVqX4sn2eGpTvGjyTTneE/eneHLNEr+4ZkR8CBHcOJHs58gp7ht279auPPUQoDO0l2VkMqN1f/CI6/kjwwPKzm+Ts79iQ== X-Google-Smtp-Source: AGHT+IElzYhl9c7gky4QQgzZh65mOtfWvlOY9bde7tNKZZAf9espVq3WUurZlcSawJX1Tu0JvnfV X-Received: by 2002:a17:902:bb95:b0:1dc:794e:27b2 with SMTP id m21-20020a170902bb9500b001dc794e27b2mr2825596pls.56.1708782584742; Sat, 24 Feb 2024 05:49:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782584; cv=pass; d=google.com; s=arc-20160816; b=MdSEfuJzNh78EtJ0lF6EwuWnToy0su48rcdqp82pZSM30OKr8orkwzAZOZwai8GsMt dAuXoxbVbHCUVspXyQJv6f5RM91dvy/0peadpbbPr3n3nHTEAN3WDFv1sTGc38zo2HA6 V9yV+5ctdxqlKQDiLdPnpUE2eeOHiS7Vlku5Xe6WXDdIYxgMYMVmSFItXJWBpG3HPZX9 sE4W47wVWXTnOCIgMu2JUxbsen+kPOLmxod/UQjrBqr57b4C/8lyxV/4xKDwFjIgEGV6 B1ILQwA54CKL4riTJ6c9PNd3sJ681zpE4wFsaDsvE/Xi4ZZ8gM8h2amiJtOGs4It0K4W ccpg== 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=fE2FStz/e/B+/GO2DVwjBE8Exn6DtP5fmhDWTzvK8qo=; fh=4c9DO7JGs03ZKfjiK17RgsdmQhsrHfE9IlUPuNyI5w4=; b=bY83+O5dLpIoXT7568FY9AjE4vKJB1BCD/Gw2cIkyGcVu/tfqIbdxOvE2YADaGkkGD dcDEYFm5cIZzYe2cZChHLj2+6qXrzyBtV5ILkSSY5vXF2RbyFc947SSQa01gd6EBUpaQ uBk+UHkM6icArbsAA8u16zYElUEYkYyKbj2BzUb0RoqFn9qmBaSfoxrASmTS10tY5PAw qcIjr6/3zJGWBJlVCfNV8vNuYYb9pfnf5FcFMXq7LqwwHETLmw1E6eCLo8HbftH2MY4H 16bfwyMClsmX6pnSgvWTBriLGSuU8mhMaA+d/sTID+MJwjJOe6E/FIuVFyL+TIP3I0o0 6oAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=WXUjj7OQ; 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-79658-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79658-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h6-20020a170902f7c600b001da105d6a6esi830263plw.523.2024.02.24.05.49.44 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:49:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79658-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=WXUjj7OQ; 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-79658-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79658-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8E2C12827EE for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:49:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C5474A9BF; Sat, 24 Feb 2024 13:48:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="WXUjj7OQ" Received: from out-175.mta0.migadu.com (out-175.mta0.migadu.com [91.218.175.175]) (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 E3C2047F69 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782505; cv=none; b=NRJjRSxyuubbsLmoytJx1mdSZqtQjYpIlKLU/aDTE5LCMqBwUMWYlnJNIVadpUJN1GJUrOd4wkVYq6KyrfYJbGpeLzT+Q3h+7lRq+goM5mj5eFDVP1dEQfXKoAMX/YIaLBGzXAN/8pgR4zWACrnMMzhJiBlSx58XEvw4mi24sCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782505; c=relaxed/simple; bh=YbDtdnNvghTBaU3RguKiiG1MvBtOLPAJtXljGVNKK3s=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=rjLZFpq2zD92fRQmQl4RlLuz4qrwRa0voCQuwYyHnx6gw6wgLM+HZAtDB1p1/t4hRYJNBQTSBJsOBpTTNblll7prQcNFrV6SMM9h+R9OR7uWVcJ9pgZP9BhPsuh2mDt7KN5Ur+0RlMg1cfMNVAECTdKnya8DGmoWlA+Vf8m4OMU= 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=WXUjj7OQ; arc=none smtp.client-ip=91.218.175.175 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=1708782502; 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=fE2FStz/e/B+/GO2DVwjBE8Exn6DtP5fmhDWTzvK8qo=; b=WXUjj7OQXTeCrPOVAuYhTE2VpYpH086Palm2FwkMvZIM/OvlnwxsRXhjdlHZyZqrQG5+Vn g5HAVBasAaxZyKRA0360h4oSS9K+zb+h4oGRAuaNOG5fyBvnvPsJtqA0g2OgnZh54VF5Xj 4JuPZtb7c3XQtmxPQJMNxRgtenuOXkI= From: chengming.zhou@linux.dev To: jack@suse.com Cc: linux-ext4@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] ext2: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:48:16 +0000 Message-Id: <20240224134816.829424-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: 1791788407153776792 X-GMAIL-MSGID: 1791788407153776792 |
Series |
ext2: 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/ext2/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 6d8587505cea..7162c61c0402 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -213,8 +213,7 @@ static int __init init_inodecache(void) { ext2_inode_cachep = kmem_cache_create_usercopy("ext2_inode_cache", sizeof(struct ext2_inode_info), 0, - (SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD| - SLAB_ACCOUNT), + SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, offsetof(struct ext2_inode_info, i_data), sizeof_field(struct ext2_inode_info, i_data), init_once);