Message ID | 20240224135243.830381-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79686-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1156426dyb; Sat, 24 Feb 2024 05:55:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUgVHO8TLMM6k9MtTfu/dg54gb5fHU2AJd/IW2bs332614G3W4QMgDhQdvdRm4bwR3kgjXpwAuuQqJXXVtxhtCAu6g9nQ== X-Google-Smtp-Source: AGHT+IGgkwDNX7TrnwMFRlwK+vAsZU3o57kIcRHS2hJ6mavYq5EZwG1JvyurclErkUAEGQ7ebE7C X-Received: by 2002:ac8:58ca:0:b0:42e:67b6:9a5d with SMTP id u10-20020ac858ca000000b0042e67b69a5dmr2574140qta.41.1708782940141; Sat, 24 Feb 2024 05:55:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782940; cv=pass; d=google.com; s=arc-20160816; b=YkYzNB/jTGOy5E93GEaI6RYOw9OFm52L/pLJuBR8SMOKzbZoSGk/TxieNIQEfS8tiD SCBg/U5b0r/23uzzMWfQM9BLwGhJ4tpS6iypXRXEDctmuQgcj53Dn67MoIGHceiCnIKQ fqP8xbpg5ZMyFz/1cetDexAp18CUeHwnvP9XofudWK6YXevkP5eSPojwJddCSAKOfNMf VO7ESgOBSQm8SIIbO2guMrNFybWPzI5ddOn6dXIxZEeSCU+zc5ITHG74NiovcgQxa+zW pYswHn73J40F4f/LyCEnR3E1ofLehCEfdOxPb+xe3jaW0LFXiO4RD/vQZhGAgWe0hV8C h2lw== 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=rYMFkq+ll6ODceL4IY+KD8y0LqHupyUnLzlW6j2Pb6w=; fh=eN+hYoI/rFVqJI4qfVnM7LxSLn18SiufuLS0jlr8DpA=; b=N9OM/tGG/FiqlTpIossMfDjsEPOWf1rZ3O2cZgMf7RSh6QMoVRdb/voA1U2aBqbB2F U+mjvLxdbI9Pb0qkILm4k2q/BpGTtDtICe//tsrzj9R/o23MDkL3Mr4uSeXbR5qZcQIL c40HypplSW+Br+VuJ1j8I8o2RdmXUzFUamK53tf/1V0PFCA6aRgNl1Fa+ddBHHC5wMGk N66OKcMWlm8eb+RC7IkDiTcn81trQEbLb5y1sh6Q45QGMJNSzugeEWOkNZfpyQh2BAJe XW192sxWewaML2AniQro7Go9tS/cY2tzPmyNjUdH3Q0n3IrALXm6E03BqShPTPiL98LT U9/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KNTFUq2Q; 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-79686-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79686-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 e18-20020ac84912000000b0042e3236ee6dsi1050585qtq.746.2024.02.24.05.55.40 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:55:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79686-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=KNTFUq2Q; 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-79686-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79686-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 EA2F81C21336 for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:55:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6037447A70; Sat, 24 Feb 2024 13:53:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="KNTFUq2Q" Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (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 517A545032 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:52:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782778; cv=none; b=Ks5Y+fuA+CzrdXgA0Vd4Tp5JVMNOKjbckKGSaUusJv+Er05uFnzfvOvQyw9I7xAZmWy4XzNeN5kMJmIKNhI76rDC6lM+YxzSk5CQ/NNeZLhzKmrV3pmyd3VcVzoqg51W7Tn9TTTht2YOB5BA+2mAbupPIWbLHkZrQkczo7YXvHQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782778; c=relaxed/simple; bh=4xCZ87ofqhn+mZ02rNDXeZZ2CvHmguZE2SQHPTimieg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Q5EW6WUeZlLepCSTH0Ycd59gWaCYgy9zQ2dgTxmZdf/K5vJsaU7AJnjcVXySXCsj6ooOSw08nHGzypNLxctfmK5l7JaG4FBMpN4d+GNaX+Zwl5DjqEN+g5oGNMmlCqS9FD3ktZUAEIBVmyE1fS7+71ZgIUAyhmDALTdsIpBcl+k= 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=KNTFUq2Q; arc=none smtp.client-ip=95.215.58.180 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=1708782775; 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=rYMFkq+ll6ODceL4IY+KD8y0LqHupyUnLzlW6j2Pb6w=; b=KNTFUq2QJy/ueeF02jeVLU72xmH5hB/LrAA+RGSQojawOzHq+kjLaykiwftObxZNmaH7Z8 CniIlrxATBnpQQsmw3Goc0XLlEG684Abi+y9B0WQKvUBj9fhvXEZHYcqw9QgazP1d/y52P 3T5rQywS0TQ25Fd3SFEIbDG4pYzCMxs= From: chengming.zhou@linux.dev To: dushistov@mail.ru Cc: 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] ufs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:52:43 +0000 Message-Id: <20240224135243.830381-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: 1791788780122304760 X-GMAIL-MSGID: 1791788780122304760 |
Series |
ufs: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:52 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/ufs/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index a480810cd4e3..126295a9bb70 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c @@ -1470,8 +1470,7 @@ static int __init init_inodecache(void) { ufs_inode_cachep = kmem_cache_create_usercopy("ufs_inode_cache", sizeof(struct ufs_inode_info), 0, - (SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD| - SLAB_ACCOUNT), + SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, offsetof(struct ufs_inode_info, i_u1.i_symlink), sizeof_field(struct ufs_inode_info, i_u1.i_symlink),