From patchwork Sat Feb 24 13:50:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205870 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1155375dyb; Sat, 24 Feb 2024 05:52:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtRkPOyjachLgXLxTdnyn1qWRBvnz3oyuAUJ5au7As+bq0fXFzemCZjbzRXp8MPo3zG9B2yuSPeJ3lgen+k8N/pfwbgg== X-Google-Smtp-Source: AGHT+IGLW7PFAVmF0pFOrz/HGf80rN7d9KdgIdl9Ehs5fISl9YiRWXU1YpB76HkXwicodrTX9nXK X-Received: by 2002:a05:6808:11c8:b0:3c1:55d4:a419 with SMTP id p8-20020a05680811c800b003c155d4a419mr2920429oiv.2.1708782771007; Sat, 24 Feb 2024 05:52:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782770; cv=pass; d=google.com; s=arc-20160816; b=k3u19kM3XwMWo6ZSG0dLPEs9Sz1uCA+Bo7hmfEcYUUbec+bwQzC3+MJthnqC8kxv8J RDyyZDVmhj85w4MBzC4KWID+KFe6jmiDxZTwqIIsub800dg08xeHOyZCeZTnoJ4s36ka SCH332sxI1mR6QKZVp3Lm5PA7qLUzllnAKbrKiBLtPgFF2nykDg70bS/MwEoPgf4LOXt wNhW4LIyEsy1+MZ7ZAn+KwB9WS4AHjMGC7nZ/nq2nmcz8iXgE+l0fzhMGYYzGeB1mSd/ cYdqwfnudL7WhrP5DcFPJ3orHPruvP7Djs1hRp6raGlKm+oneso737TcFAo8xTt7V2Uw nkuA== 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=5S+cDXwG3tqZp5u5Q5yT544TdSeExm5GQVXBPA8TbL0=; fh=QvsdFgV9uK9A/BWZVESBbN1yjUurefcQtszx3dkHyPI=; b=F8Xto7fIZcs632j1Gc0lzanj6dT1pVQVekheyhWyh8Dx1h71BbfUWoXc4j9Cz/OqCT 5vwR8cbO3pZkbWq4VRhKo+MKVVZfr6oxEWgADNW1G/JTJ90yumi3F0vOtvoNmxa70R75 KqzUILrbXgKOKPMd+hVl5zRTWzRM2YYEh5jjyKw1TfaRkJlEeCql+UshouslsTWhcoTf ql7U9yLrNnswct92mvNvBGrH0ORoYo3nMwYIv4zF+1lIfK/yeLK4jPtj4YVsrnu3lBM6 Me4bhbEBih0Xi4WdcqtTx+k7EutsRPf2sXRI+UQrT53/XwSYDoqLJfTxascx0zgvb9G7 n/sw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=CRdI5z4w; 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-79672-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79672-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 h8-20020ac87448000000b0042e5f6c2075si1037364qtr.301.2024.02.24.05.52.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:52:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79672-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=CRdI5z4w; 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-79672-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79672-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 C53FC1C21272 for ; Sat, 24 Feb 2024 13:52:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 532AB4EB2F; Sat, 24 Feb 2024 13:50:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="CRdI5z4w" Received: from out-187.mta1.migadu.com (out-187.mta1.migadu.com [95.215.58.187]) (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 5611E45BEB for ; Sat, 24 Feb 2024 13:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782638; cv=none; b=TgCUXiYyba9i2Q9YQMpqWQenxpOfrsR1/FsY6FMdtyVSRV2A6mTvqbgYi9zEwTtrkEH/yPk10akh5w60YkaTSdvVZ/b0apfAvB2/Xh2zD64o33tzoDDpqeKirVgUkofrYtUsSboloZYWMv9CqlkuigXkmPEWw0frcFEs52lFRzw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782638; c=relaxed/simple; bh=LaJxDtd32yynnLkWyQqfW3yMF4S2UUgWOtITIbNfcIY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=CnedQ2uMbLGzOLEXNS6zZEPEYclTfB07dOS7UD51Am5eciLosuivC7ICsXGSoAYDDtvxUYKKJRs6jeWXJsMGgwjMsaImA/xyVkqyo50aIkseaRvYoO4M2+r/JqVtbQ/juFWU8fBbZg3RmAHCXE9IU10qBmImAFTrsMLqYWNdzvo= 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=CRdI5z4w; arc=none smtp.client-ip=95.215.58.187 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=1708782635; 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=5S+cDXwG3tqZp5u5Q5yT544TdSeExm5GQVXBPA8TbL0=; b=CRdI5z4wyXGaRXW7B3YU+K3XEoJ+6PB9g8P4TCsBqqE9DHlSK09b7OaDnJbbcfXPiQfVJE 7DHvuicpaYaMZ6MAVqhkryBNnF+Z5Y8o8RReW/EkxEwvrT1IBwX4wwV0X3UoFcG0S8UQ24 7k1LgZm6iwWx5sygwgxx2toH+/CBzYM= From: chengming.zhou@linux.dev To: brauner@kernel.org, jlayton@kernel.org, jack@suse.cz, 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] openpromfs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:50:28 +0000 Message-Id: <20240224135028.829910-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: 1791788602908924833 X-GMAIL-MSGID: 1791788602908924833 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/openpromfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c index c4b65a6d41cc..4a0779e3ef79 100644 --- a/fs/openpromfs/inode.c +++ b/fs/openpromfs/inode.c @@ -446,7 +446,7 @@ static int __init init_openprom_fs(void) sizeof(struct op_inode_info), 0, (SLAB_RECLAIM_ACCOUNT | - SLAB_MEM_SPREAD | SLAB_ACCOUNT), + SLAB_ACCOUNT), op_inode_init_once); if (!op_inode_cachep) return -ENOMEM;