Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp408208rbb; Sat, 24 Feb 2024 05:55:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWLCemKAeLUPDZQfrQccyzehK8F/3N2+iXZ+OQsoOLhlROIPRS7BFxtO4wj1KQq9el5vdHKIVOsEAPa8xNQNDmhNuEWkuKTm1rbADL1Pg== X-Google-Smtp-Source: AGHT+IGMUTLhfi3o8uz/kW/cOUAU8uwt38zoEN8OlWXAALkRqueKGYTCqbu+nMYjaoq4+bb8NE1u X-Received: by 2002:a05:6870:730d:b0:21f:bb0:506e with SMTP id q13-20020a056870730d00b0021f0bb0506emr3123123oal.42.1708782933334; Sat, 24 Feb 2024 05:55:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782933; cv=pass; d=google.com; s=arc-20160816; b=B37yCu/yZhefwgGR9xgmzVyuxiMEsi75YaGviybfPqydc/9xIYIZOkXcy5gmm8Pm3q XWVy0Cq5E4Yh6/hfeDlo2O7xFOL2zZc8HrR98uRR3P9VQhVUTw0t6mv+R+hsWb8wnOzq WLibnMIEQ45fP+e0WSpFZds0dCiInRqn2G2C3gkm3qU2nhDG4fHFuq4asAisMddylNxH 1lZEwvDPPL3BANIoUzKJsub9p4F6P1VpzZOq8krdoOojRYl4bs9Dc5ljhn7EHVdUkDnX ftYjWcf8wcvs8hwLG+JZK2PnENAi6nwO/qHDCbCGOD5DrcSIYnqY82Fu/0W9qwf3iMbg /V/A== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79686-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 a13-20020a63cd4d000000b005d8c1b5a3bdsi911258pgj.216.2024.02.24.05.55.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:55:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79686-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=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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79686-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 014E728241F for ; Sat, 24 Feb 2024 13:55:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEC604653A; Sat, 24 Feb 2024 13:52:59 +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 ; 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 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: 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/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), -- 2.40.1