Message ID | 20240224134655.829132-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79649-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1153599dyb; Sat, 24 Feb 2024 05:47:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWCCvIF2MDooh7/4d50E2oKi5chczAcfAT/LJUwVBi9KTWe48MID4xhIh+8wNFrFX4gY2X/MdnlMkpjwXTDXZhwFCCqqA== X-Google-Smtp-Source: AGHT+IHrzzDw/90A0CKz9Ule1wAytjQ7OkLcmMN8ouSfS1U8d4u8bNJqvfva0LaFB5TzdrKJkPq7 X-Received: by 2002:a6b:c893:0:b0:7c7:b566:9527 with SMTP id y141-20020a6bc893000000b007c7b5669527mr319610iof.0.1708782461933; Sat, 24 Feb 2024 05:47:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782461; cv=pass; d=google.com; s=arc-20160816; b=aGm5MtW8Rzc6Y+/Cwj5+v3ABAMhCS/EIN9AH57h9JiYRxP0saippc0yPLCxLI0EP0R gteUEHCXpbttdPM/mzMoaL8KLBE2xRYDCymkaUN71tAkFxpGgvyxvRx2tBfxpo79PoiF bod3eYvom3LBFqvryY2MRgjMGRehSX0zl7sJZSxzl8Mv8WwGdXfomn3cKRjl2rDts0Kn gQphUl8V+DNLof49qdPSfnxKK4os5FkLTN8idc2OoHMxcldieRKDraMHHnwYUi9CXons cQecnWDclvwW1qQtn7ie1wGW6vF9+dBcKROAOu4R/zE1XhQ/+L5iap6fboCE/P2T0bnR wGlw== 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=vAqWclroKkGVD5OBWda/UPx1L56Bmxv2Hafday/lWEo=; fh=rgXwVRtFfylyT9ee3Klyi1d6Jf3HFVP+LAnBGCMlKh4=; b=X6RG/Q207Sz8HVfhjJvRJJfB1YTDY3zhoxiLlkMTLi2U3ktu6+PAUB9Rgtt22GArtT DxtGYFMUSw4Yspk8CdRZD/drfemDBoAalkfwerNdMAQCq70Me/5dOWSQX1FvRXZfD51C 4dZK/ijMQGe+VG6I0cgCVqumEfycGH6XAtpF3+hpED7/D14UPWtLVWBxSqmPmwEXgZva 33se4F7N7+XQ3TKO2cjfUI1J/aI8ICuUFHcl8KGxNS09g1ZAFa8fTlp0C6zj2Hi8utLx NbZmupx3zrpQhWoNE4lOuYA0UXoMcaxbf21fLvE3uGVmWq5HWorlgimUMe9ZTXY8uhXt cqoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZGQPpAiY; 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-79649-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79649-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s66-20020a632c45000000b005d8b2b582dfsi903371pgs.837.2024.02.24.05.47.41 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:47:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79649-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZGQPpAiY; 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-79649-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79649-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A7F26B21246 for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:47:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1730E4502F; Sat, 24 Feb 2024 13:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="ZGQPpAiY" Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (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 CFEFE3FB28 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782425; cv=none; b=dADimRmT1O/+eqo6ea2+jOuzAlKNKMJKsI2ydQasg7kF8zVMSZGKRKP+qSBcIRsiY1+vnjS68FpZAOkzDX8TcvP4uDh1HiKg3iFEZsOt4dcz+AVoTVWsCPxV967/nDuCAK99UH3VKZTSiUXwy/2M7OwYAM/To3Tl/tMDhHK5nQo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782425; c=relaxed/simple; bh=fQiIyGANEpTEfNpY32a9B9N+QodgRGRhVvL+EP121b0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=uRSungVgTbnlplZIWWNVGGKao3tgg9daQd43m6d+BivKwKaOzFD1SJ1cRTmEgZAEoQJzBmjF2RMVUd1qVX6sVNR4gaH7CdJu1LH80Z+9DYh0PwnQ4Z5DWghjTdF0XAZc/1B6efTf0yIKV1PEBhpzYHbxDtZUDfuMxk3ywTblPWs= 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=ZGQPpAiY; arc=none smtp.client-ip=95.215.58.179 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=1708782421; 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=vAqWclroKkGVD5OBWda/UPx1L56Bmxv2Hafday/lWEo=; b=ZGQPpAiY+bZvdOZuYOvQFC+2tIaIpyMMPNReEkudNglDZiwtb9fZbau8Xk+Xw+FM/2plcG GxntFxhyu25nLfASCwsh3FYpQx9vV0s7b7CsRpNLv8JvxIDd67rZpXn8+zCU1bwmMAUJE8 ECpV+i3HUd4zdNXwLXaFf8GXQLsOHSo= From: chengming.zhou@linux.dev To: luisbg@kernel.org, salah.triki@gmail.com 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] befs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:46:55 +0000 Message-Id: <20240224134655.829132-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: 1791788278418480372 X-GMAIL-MSGID: 1791788278418480372 |
Series |
befs: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:46 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/befs/linuxvfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 2b4dda047450..b873452e96ad 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -435,8 +435,7 @@ befs_init_inodecache(void) { befs_inode_cachep = kmem_cache_create_usercopy("befs_inode_cache", sizeof(struct befs_inode_info), 0, - (SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD| - SLAB_ACCOUNT), + SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, offsetof(struct befs_inode_info, i_data.symlink), sizeof_field(struct befs_inode_info,