Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp406147rbb; Sat, 24 Feb 2024 05:49:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCULKB4Tv0WPFcclrSdxf9OXJQGiVj30Gc13zlpWJjcqTcolRJT++/aMIcLcQWmzSSLHRupLfLGjJeL02BX9Q1KwUp7ThrdXOS1afWcN7Q== X-Google-Smtp-Source: AGHT+IGqpkIU5Ihi3f9dmMqtx3ieWVRZhM2ApC/2N+nMu/Rd2j70le4ak+BlwnU2HHphYuEG1lag X-Received: by 2002:a17:902:e881:b0:1db:de5b:dc7d with SMTP id w1-20020a170902e88100b001dbde5bdc7dmr3638311plg.52.1708782576525; Sat, 24 Feb 2024 05:49:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782576; cv=pass; d=google.com; s=arc-20160816; b=SvLk1EN20azoe7ok6weMquH36E7seH9/igvDsP+CJfq+ih2gx/c2FTaX8YU1p2zdWo IO/K8AD0gKmLxKOPeEJBSjmSj5dKjV7N2vvn37yJE9TWhxajynPU4mXoLgqTHyr7/7tJ PEgVSj5Pkim8nQZl1c2C9cHJTYBvKJE8IOuawcc9mQUjgd+OTLzaxlumLPqL2+inH8Ux ZwpMjqENeECYUTvR5Om9M5IVAaC61i8f6b4VsvnMuaNFUqi5khFgg/fDnW3L7mMKxjwp CX1+ZTTX9hai2wZ1xowtYQnswpVEXStvZxiLkQLfOXLAxZkRBOZk00ERaVSet37257qF O7gw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p23-20020a1709027ed700b001dbf6a7e789si842059plb.122.2024.02.24.05.49.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:49:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79658-linux.lists.archive=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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79658-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 273B2282818 for ; Sat, 24 Feb 2024 13:49:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57C934C602; Sat, 24 Feb 2024 13:48:26 +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 ; 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 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: 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 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/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); -- 2.40.1