Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp408493rbb; Sat, 24 Feb 2024 05:56:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVMxp4SUcpHGQtENS6aRznd+uEIot5lrPdTZ64ED94MqCTJGkOyfUhWjy5p1OBZ7fLqWwLwLCYsafbHjx1I6a+fG55XocaRdxLxGJFLYA== X-Google-Smtp-Source: AGHT+IFCxkExd6ws4d6InlvBchjfrpc/jXjhOv4aIv9v8WtoJpPtBnSYTYCXoFaY94Rq4hR6NBgn X-Received: by 2002:a05:6a00:4c93:b0:6e4:6a74:ee5b with SMTP id eb19-20020a056a004c9300b006e46a74ee5bmr3162467pfb.14.1708782991224; Sat, 24 Feb 2024 05:56:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782991; cv=pass; d=google.com; s=arc-20160816; b=SjA6i33Ez8pietmHGXJ2OcuXNib69sbDwDHZo/zXGR4EyqjcFqQJ9R6iCAC3R+L7Lz kExf6ZQLMws8m4/t3zOH/MlNxebpzPS5962WnS/hsxU89er+9J7HyUZhrzhpG8JMr4wf djrmmCQfUm4YLoCVOZGj2BlCW6lQs6gWmJP5TkXtq7kDHq7WTXMa38j4gGFgGwvrb12n IGrSpKwgnP8RBdHlGi85+QuO3/Q/0qOVG+NvaYtdMf/bQbRPumKC3SLe6RStPbTXj7k/ aiKogJ4JySrFiZKcKu1qaL5xfsMzms05jAiKE6sinPe9leq3nwjn8eEHZfxGSo5ySPdw m2Fw== 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=LxCxkx8l5yBZAVu2gvV0cjhc3YekJfohK1yANvznAjs=; fh=zx3a2Z6dnV2TTQO/XYpxAMq8vFb3J5wTF02YCaCC0kQ=; b=yrlvUTBzfvQC93fA3tOqEDBWiX6VBSzXgOJO+QiKvr3haobBqW5qsuCFoG0s45MvlA SEt1SI2IMmtB6ZMFegfohyunrjpJ8oB+ohRRZqtPmvl24RiqeyS8PAaFaPVEFKWeu3NO Hr9cxQ3YrMwdd2MS6TCAAI1oQjAwky7fci1FLAg/apDTwhwtSbo4OU2Y1a8yWPpdEeMc D3q00oqU2EDhUPO0wYqM/66LUD156UCoOubOMg7X/ul+cAS2LVA8a4PODBezd1cPaOX8 sLFDzgFzsgdt0pT+9OWK4Sk238ZdUXxUDO82e1wchwZ6ylZAQ+2PJy7WTLrXpGWMR85f hzJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=QRESwJby; 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-79690-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79690-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 b62-20020a62cf41000000b006de1e26adb5si901583pfg.275.2024.02.24.05.56.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:56:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79690-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=QRESwJby; 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-79690-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79690-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 DF20628224F for ; Sat, 24 Feb 2024 13:56:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 277EF52F7A; Sat, 24 Feb 2024 13:53:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="QRESwJby" Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (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 F302F52F6D for ; Sat, 24 Feb 2024 13:53:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782811; cv=none; b=T2n1V1mrOoG95O9QTVL/aRNudaTzZqeQi2vIMTiytPm37jAltpwFZUrDOxicrk7ooXw3L/IX1T0ateuQLvwMSFozaq4n84sEhcuaCPKjqLkNQ/0wPrdifzhpbieGpplq2oZh+EXMS8t7gZeTCit3OHW/ZBi0vvRinsRf+RxlX+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782811; c=relaxed/simple; bh=+C2QW/f0RI+8Ygnvj/1ns6kexgt5mz3fEZ9jYLuct24=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JZ+WPYC0nu4k3WfwdhP0VAuiZlIVup/au+dGy63T2sfxZ2HuSKUTGKtNgR44ujRH5mXc8NCc6uA+1FBDvM1j+qSP7F24GkPJ6ZBGhW8N0Zu4mcKh8ctkwhVNxEfPjfPweDWNRz3gEDBG4LD4dHmadYfJG0C6jgg78TIWifZTxHs= 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=QRESwJby; arc=none smtp.client-ip=91.218.175.170 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=1708782808; 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=LxCxkx8l5yBZAVu2gvV0cjhc3YekJfohK1yANvznAjs=; b=QRESwJbyP+miss2loec0KjAl5QsJNBFdOpteW4uXGVzcdIm12aY/XS66CQQ/zNLLZIOy/I aOlHjd+4h7t1XlrKB2jUtZhg6fwi+B77O/XIE5baysYaGb1DM5CPtsY2A2SPEp8tJpBcep uDKxFEm/ZrJURewL2JVNVNexGYzscmo= From: chengming.zhou@linux.dev To: chandan.babu@oracle.com, djwong@kernel.org Cc: linux-xfs@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] xfs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:53:23 +0000 Message-Id: <20240224135323.830509-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/xfs/xfs_super.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 56006b877a5d..171a1287b296 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -2042,8 +2042,7 @@ xfs_init_caches(void) xfs_buf_cache = kmem_cache_create("xfs_buf", sizeof(struct xfs_buf), 0, SLAB_HWCACHE_ALIGN | - SLAB_RECLAIM_ACCOUNT | - SLAB_MEM_SPREAD, + SLAB_RECLAIM_ACCOUNT, NULL); if (!xfs_buf_cache) goto out; @@ -2108,14 +2107,14 @@ xfs_init_caches(void) sizeof(struct xfs_inode), 0, (SLAB_HWCACHE_ALIGN | SLAB_RECLAIM_ACCOUNT | - SLAB_MEM_SPREAD | SLAB_ACCOUNT), + SLAB_ACCOUNT), xfs_fs_inode_init_once); if (!xfs_inode_cache) goto out_destroy_efi_cache; xfs_ili_cache = kmem_cache_create("xfs_ili", sizeof(struct xfs_inode_log_item), 0, - SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD, + SLAB_RECLAIM_ACCOUNT, NULL); if (!xfs_ili_cache) goto out_destroy_inode_cache; -- 2.40.1