From patchwork Sat Feb 24 13:50:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205872 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1155559dyb; Sat, 24 Feb 2024 05:53:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU2/CDHTzU+EtvkQpKzgA8OSrNbTJGCEB30L/EpzvjVNrph6gUgWbrY/EjRnNnnCYT+fsSOwiZ8vHvY6Cn1D1bYc+lOig== X-Google-Smtp-Source: AGHT+IG9o/adTsVHHOOyL2m8dXzCG1/X8kJ0V/0Ui3WlP50yd9k+Sb6cVTJ2gUnb/OB5iMNtSbmI X-Received: by 2002:a05:622a:14b:b0:42e:78d0:a9cf with SMTP id v11-20020a05622a014b00b0042e78d0a9cfmr745778qtw.20.1708782800760; Sat, 24 Feb 2024 05:53:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782800; cv=pass; d=google.com; s=arc-20160816; b=g37H6KaYOFTnKvZVZYnrWxHPNlb76a72rZ/NoybVoli0P45c1yQkkDEJf7y84x1lB7 eSHsk9+jVjN2McRXIjiVg4f4IbNL7M5zzCJCImh6vY0ADz5bbeifhQVVDg7MICiUqbgO 9g2aA585/h2YIjuunk+Lg75DD5zWBWwL0OIKUab+/eOEKw1cXnfSjrZm/3XVDAHBUqZG o3naONmXRp9/Pv+kwLHefq4crzMxlEKmnqVK11x93daylESBOd07YbnRqxgal9smUGRw POrvJ87U8dVNDwmb1p+ioA2/sTwe9SMw1wuhc+P61qUk8mzGy+NLw3xIsAKBMleav+ph qWUw== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79675-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.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79675-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="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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79675-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 687971C212D4 for ; Sat, 24 Feb 2024 13:53:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 430644EB52; Sat, 24 Feb 2024 13:51:01 +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 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791788634102677471 X-GMAIL-MSGID: 1791788634102677471 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 =