Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp407417rbb; Sat, 24 Feb 2024 05:53:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXxN0niD0K4misztB1yC9udA4IdtPp2yFqB6yGNk9kJ2z1ywLb2/iD9jE5Yus3xq0s4X5TcQ2mwib6dKO/m1zqKWb6lmxj1QPwpaThh2A== X-Google-Smtp-Source: AGHT+IGwlR1ASew4QlNC76RhZz29tmzNczH0Y07z7LyHot+MxguTbhlzH8JwnboPi4E4CyvIQ1sL X-Received: by 2002:a92:c604:0:b0:363:da36:f643 with SMTP id p4-20020a92c604000000b00363da36f643mr2543533ilm.8.1708782793729; Sat, 24 Feb 2024 05:53:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782793; cv=pass; d=google.com; s=arc-20160816; b=RPz0sjhUSYYAVaf8H6Rkx1vHP63VZWrcY4uadkQxsMfz+SnENbNPo76pv/rM25Pogj /dTqLiQT5gD3MjvQwf/+qRdhpPFSqjJebjUi4odXcyjqLFlZcco2U/P7T4id1w0JMp85 c0iiqXdMNpU5m3AWOgS/fEowbmXMm2W9lZAqKezhqqIZBWH95jzhKF8ZlfBzy8AEYB/3 pkEBjsca7rXz1T4GYsCn2FiLyR2rhwr/LzM20NFmXlidr2yE5NUXrK7RIKdDnQ5m1Wcj EyaB53HBoOacRyCEQLBGUiuE6s87UMqjSzbVJWJ2BxFZ1+eaFYSygTE90PUCOmNuwEVx BzJA== 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=pKdyj1A9SUX/WaHCJPxPGzmkwBmjMOncSsbnh/viqYA=; fh=2DEuZvWyRTxSyrchT5vf7tSWXUDTZzTFr8JiGBr4Q/4=; b=pFTF85ETUJZkq3C6otXJXh+Zl4abl38pNoICfG4VqSxmvDlwGKTAFX0oyo6amwMgnh 2pD320M15zH0h0Lo+QsdJuFC1qW/zQXwGOZRktJVnEvpXTeyQg9tefSRJR8fwJFGguiu wYJpHqJ1tchOZV1NUFxnZ2344Sy02Oc0xFA0IWcmFO1r83Q/ss+cXoKfAVmZ7ASjSV9G aPwGGTMqwBMh7f2oavFgbheEM+sziF52kTRasEkzSr2YUmiHPRnNFbHRBmzv0iiUFngW iJSgBR20a2h6HnlpkFRhoNvZWX+9Evcoi/hofuMnm3JayqNIE2ikGq0DUBUMJkIMINPq G54w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="v1/Yf2vB"; 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-79675-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79675-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 n24-20020a63ee58000000b005cef24b3015si904055pgk.219.2024.02.24.05.53.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:53:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79675-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="v1/Yf2vB"; 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-79675-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79675-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 6818328263C for ; Sat, 24 Feb 2024 13:53:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9202B481B3; Sat, 24 Feb 2024 13:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="v1/Yf2vB" Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (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 31C77481DA for ; Sat, 24 Feb 2024 13:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782658; cv=none; b=nPIPXR4M9fkZV3v43fvfRLOZOEhzf9ILelRBHZHppU7zGb0RcVmFvbUdPZMWJu0TVo0YcHQkDxw002aKx//ojgHXn0S4GAqH+lb3jVuJMPwK6TWdOlSjqj6/96Hn1Cv/nKXGtU7Zd2x51DkBvEj4ulRmxcDwvy1xOcJP48r2tkM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782658; c=relaxed/simple; bh=+lBzQhT9s8CESRput5Fswb4v2EVNe03mwvJpUP7DyIw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AjeyEqsXSAHpFOsX3HqUaEGSGZ3DmU31JbPFzIg8agU5yV+ZjWeVao2Nu4mXx1cQ5/FvjZuN8So6hb6iqdy6B2s+wxRYd8hRBkM12P/avGSHN0o8Q0IN+yOwaWT0ZbPx/vCOSZAOQc8TL1ZtfsTgHel3n6919OlXRcqZ7XANFM0= 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=v1/Yf2vB; arc=none smtp.client-ip=91.218.175.178 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=1708782655; 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=pKdyj1A9SUX/WaHCJPxPGzmkwBmjMOncSsbnh/viqYA=; b=v1/Yf2vButT2D2Cm1zR//SGX78XXZkeOX8fca2iuhvR07Bd1bzMzi6QqK5s8lktsUM4uTX 1KVWnchTFS4IqBELE3sVf64zwnqtsZsiBxsC4+uxtjM0ULsDn6LlnzmOMTf8f7Jz35RQZo lyfWOj6vHetOHNcKtynN9KtwKgarh50= From: chengming.zhou@linux.dev To: jlayton@kernel.org, brauner@kernel.org, mcgrof@kernel.org, akpm@linux-foundation.org, jack@suse.cz, adobriyan@gmail.com Cc: dhowells@redhat.com, zhouchengming@bytedance.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, chengming.zhou@linux.dev Subject: [PATCH] proc: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:50:48 +0000 Message-Id: <20240224135048.829987-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/proc/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index b33e490e3fd9..b9c5cb63dd50 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -95,7 +95,7 @@ void __init proc_init_kmemcache(void) proc_inode_cachep = kmem_cache_create("proc_inode_cache", sizeof(struct proc_inode), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT| + SLAB_ACCOUNT| SLAB_PANIC), init_once); pde_opener_cache = -- 2.40.1