From patchwork Sat Feb 24 13:51:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205877 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1155927dyb; Sat, 24 Feb 2024 05:54:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUyQ+9lnwN4/lu5lcMiwxBryycvFFhkwV8hynyykA8MQNLVvQlazmztSBick5GLwkQmBxPREmGe6nYZ6gMtq31RcHHriw== X-Google-Smtp-Source: AGHT+IG98zhHA0CilJM0+ZaV+JWIWuyzaPkx1CPOyVsX8BcXXG+iDFyWm60vEpB4bXW+hV0q9LH+ X-Received: by 2002:ac8:4409:0:b0:42e:72be:5b90 with SMTP id j9-20020ac84409000000b0042e72be5b90mr1481163qtn.7.1708782862194; Sat, 24 Feb 2024 05:54:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782862; cv=pass; d=google.com; s=arc-20160816; b=THciw+B2QyLJ/5C2hy/ofL/SiaVylJZ7MVUZ0lFWsswN696/BFM2QlLCusmBXv6jKp GrGsd8Jqax7Yu7SZRPiAWscBNl9dprI2loq5lnZ5tEx7MIK6+PWvdvhhvYywumhAMLnZ +iGt9iew9Vr+b8llftc8iZQ6HvdxA0IJG2V3BcfpMHL6qEcm6PlIZvJem1O1nw1cP/lv 6402otZOuQvwx4VXrRWONkpQ64x2TtZp566UIUsyOVBb+TjYAN5ts14e0n0oYzLO+Qah eE+LGvJMhJWXewmfBPBcf+W3pv2IAQ3ZL5BOy7/NU77Ldd/74D+Yg5GXAmzr3Ztknxr0 WGgg== 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=sLHtO33Ubm3a9KIWmkpmggib7Qf+tnLzeQj9fuz3h5Y=; fh=lp225bTrDRrPeooikzekU8fljVKlgU12V015pOnvqNc=; b=0kEyilZ56U7LkLJ9YIWS2N9otH07RK11f3BIvcuQEZrHpf6/1xQMLUEVHzssgDjcHK AkdTvKCGfT/6sOWZU8uU0vBhl7G5bfv/86sK50QA3rixaWi4+ntB2ujXiF8H0E9duQNn oAYzOhg59Wg6KpkIOEi22uN7Bu1UkdKBL/LI64QcibsjqkTWL0kyElNZR3gGDeM6uzmV jpxUd4BDXDE/P1VCTQI2EOOVykzRMAHh4zQzQ2S6NBQcUZstIbrNVhPtN97qXaHwqq0q HJcIR4jewud/X+1OGN4yqDrLlwUpwxXeTnQdPN/47mHIfAVSQkFKAgFmXbJQe9oKltfI 6anw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=FACSaXwA; 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-79680-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79680-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 c1-20020ac86e81000000b0042c5d516510si1077122qtv.69.2024.02.24.05.54.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:54:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79680-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=FACSaXwA; 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-79680-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79680-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 023261C21395 for ; Sat, 24 Feb 2024 13:54:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7E804C602; Sat, 24 Feb 2024 13:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="FACSaXwA" Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (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 B80A7125C3 for ; Sat, 24 Feb 2024 13:51:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782712; cv=none; b=i7k5vVNZv7AqjqHknCv8bNh6xG++G8mxUrJ93a2TT3djAQAYbmlk/CmVG7y+NFyaAZedbsi/Kra1yZoY9Z6M7n0uuudpRgKHBYFsQpX/uvYom0BnOiIxzJ9Iymxi7U6N6kXGwM0kX3Yo9xSkpG+2UihCTsnxXRPDnpoWfq2IHf4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782712; c=relaxed/simple; bh=uatpp2XJ1Xg79pTa5FCK7wNpCIj04AEIsfpgHap5s2o=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=YLWt4ieHcWivqp2glyyZl/eTPn/c+KSXSEesSvGVZ9XbVv51Onc5owNZl8/YqSFJuU3pjRMg2j/p1WjJ3C+KaQFEp8S31pkhyh0twTnMdROmf0FjKu7cB5T2uzBMFkgG8PiObXMSAhNnDYqb/RFactWAukWYZaS2lkAvsu88X7c= 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=FACSaXwA; arc=none smtp.client-ip=91.218.175.181 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=1708782709; 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=sLHtO33Ubm3a9KIWmkpmggib7Qf+tnLzeQj9fuz3h5Y=; b=FACSaXwArpMAxz8sFg5gm7MkF3MukXBrAtABPCHeq0SwH3bLwy8utrXt1lEiIEJHFoJlVY DBHj9Fpu1lEfbSSn4Ca8DRY2BLXo07Ohw4gXhGJ2ywNAMPZIFkGxY+/79HWqIaDUrOqAF+ jl+wGohkGliNF+NTX00CwEQUxw3jXC0= From: chengming.zhou@linux.dev To: brauner@kernel.org, jack@suse.cz, jlayton@kernel.org, zhouchengming@bytedance.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 Subject: [PATCH] romfs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:51:43 +0000 Message-Id: <20240224135143.830142-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 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791788698587053903 X-GMAIL-MSGID: 1791788698587053903 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/romfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/romfs/super.c b/fs/romfs/super.c index 1ed468c03557..2be227532f39 100644 --- a/fs/romfs/super.c +++ b/fs/romfs/super.c @@ -630,8 +630,8 @@ static int __init init_romfs_fs(void) romfs_inode_cachep = kmem_cache_create("romfs_i", sizeof(struct romfs_inode_info), 0, - SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD | - SLAB_ACCOUNT, romfs_i_init_once); + SLAB_RECLAIM_ACCOUNT | SLAB_ACCOUNT, + romfs_i_init_once); if (!romfs_inode_cachep) { pr_err("Failed to initialise inode cache\n");