Message ID | 20240224135206.830300-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79683-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1156244dyb; Sat, 24 Feb 2024 05:55:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJFSrAdhNkWuEM+eSPBSuf93HCY59d7L9IWNdXYzHZ1q33wEVZ0aJlyYCarJCxt9evth0jUq/zmBq2WTikJsNzctUmMA== X-Google-Smtp-Source: AGHT+IHdJPA5ErYkPo4ZfrhYwvwO/bRhUszhEdw9ws0G1+IKo7CVYVN+tj7ewOOSR5yZyPHr/uCy X-Received: by 2002:a05:6358:761d:b0:17b:5c65:7f99 with SMTP id r29-20020a056358761d00b0017b5c657f99mr3531069rwg.1.1708782910832; Sat, 24 Feb 2024 05:55:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782910; cv=pass; d=google.com; s=arc-20160816; b=IUjNyX2bSV0nLtwVjsfiQOmc4L8L0OkmmGoPz2ybOpCXzZOOhaD/JG8hg92wes2MUs urjR4NKljWX9oAzq2L5x5R/6nNSGKHtHf0BjSLi3udQeMo2JCw7DV2ZSuavHG161G2WY 8ma5PYCPfO+JJ0AtHWL6xb+FtDMkkcWLoqiROkXjzQcnutc7PuxUYHPuL5aizrNBrBXQ NkSh4/pxZVuzLcaENVCBMbv00l8JLMsa3eRdS0Pm080LdoyLsJMIFsC2DtrJZnlgNbM9 3ihXHAikgz3gEQcZ62VxcfJae6+IdzjK9iHMMi2BY6GwmwmOdforlmXWOVDju9RmBQO6 2SzQ== 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=YFtXqFDS+/V/pPxlyQ29yAaA1FKzrLsOqyZdEIxRYN0=; fh=qmxNP9VY8RW4PRYWiN1uJ5giWKicu1FNdsPidauhOkg=; b=Vm816olJ1AJMbHU8X2sjW1nh5QPGLM+uD3u304gXG/+RJncTX6jkCoJE7pnt/GaFED 5G/QOkuzyIIzVAdwGJvGLCstoTYcjE7SYwONfFIIFq7482mtYyWZBfs4rT6vuXncFG4K m/arJDVNZZEUljvkR/Ms6gY3F3e43/hEsgj66OcKyc2uJWEMIYAqiNt+S7+DhS2EJ3Va OXJ6H397J0UoP+C7aNLWL/dxadDsJX3E2k0uNgIo7YH4TtY005X28XBMSF/hQHoaNv7f P1+WH9dn7iyJzzdzKpja0ImAr5e+ict0d2nUp9Sw5DPddR7D/bLk9NfxTbg7YsRSzG0y Z4kw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=kVMssjGL; 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-79683-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79683-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 t26-20020a056a00139a00b006e07224f0bdsi922540pfg.276.2024.02.24.05.55.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:55:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79683-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=kVMssjGL; 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-79683-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79683-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 8EFA3B216A1 for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AAC147781; Sat, 24 Feb 2024 13:52:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="kVMssjGL" 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 88D7129425 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:52:18 +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=1708782740; cv=none; b=jCSvJRnVBZAGAaWbkfD6QLGnAhMI+TuTnMD5GMEaGPELfGaT1AIWeY+Iei9mco/F9WkhH/uA1VSB3dAHGkaPJGSTQnORrBfDerdtZKygW3/h3NKJ9qvjnHoq6eJhrfJONI/bnHEkUJyEAMb90z+5oiV1louaTjWlBO7hburk1eQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782740; c=relaxed/simple; bh=DWi/G6XObbnCjNhmKkVSdlq47mBz56V2FUFcf6XTH/A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=I5HzeRlotb004rlaMpOj4RE07n+E4QnPpzlNST73TizUA5h292P+wpjKs9OQPSaXnGpYoIksPNgUjvGZLfxNxl5Tv0RB9OdwoOB2KjKEYGwIJTgplBSlW8KR7VoJAPtGkIiSY+G6losI5h8+QXzMPRrnTWvB+eSsHHV2h0s1KKY= 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=kVMssjGL; 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=1708782736; 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=YFtXqFDS+/V/pPxlyQ29yAaA1FKzrLsOqyZdEIxRYN0=; b=kVMssjGLzngjIBFQ9FRjhikv4a2uzoSirFwYHZMbVlFcT7N0QQCxtPPwpZgXlmfXPCm7Oo 5V99R5ge64NI3xnA+A4h4hM43P5/iLVGF0lT/8uEGkvHfMzXl0wLEMnynqpbibMiLTHRR0 bW2fuW2DyaIMBf2+KwdE8LCc9F2cXQE= From: chengming.zhou@linux.dev To: rostedt@goodmis.org, mhiramat@kernel.org, mathieu.desnoyers@efficios.com Cc: linux-kernel@vger.kernel.org, linux-trace-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] tracefs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:52:06 +0000 Message-Id: <20240224135206.830300-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: 1791788749129649568 X-GMAIL-MSGID: 1791788749129649568 |
Series |
tracefs: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:52 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/tracefs/inode.c | 1 - 1 file changed, 1 deletion(-)
Comments
On Sat, 24 Feb 2024 13:52:06 +0000 chengming.zhou@linux.dev wrote: > 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> Queued. Thanks! -- Steve > --- > fs/tracefs/inode.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c > index d65ffad4c327..5545e6bf7d26 100644 > --- a/fs/tracefs/inode.c > +++ b/fs/tracefs/inode.c > @@ -731,7 +731,6 @@ static int __init tracefs_init(void) > tracefs_inode_cachep = kmem_cache_create("tracefs_inode_cache", > sizeof(struct tracefs_inode), > 0, (SLAB_RECLAIM_ACCOUNT| > - SLAB_MEM_SPREAD| > SLAB_ACCOUNT), > init_once); > if (!tracefs_inode_cachep)
diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index d65ffad4c327..5545e6bf7d26 100644 --- a/fs/tracefs/inode.c +++ b/fs/tracefs/inode.c @@ -731,7 +731,6 @@ static int __init tracefs_init(void) tracefs_inode_cachep = kmem_cache_create("tracefs_inode_cache", sizeof(struct tracefs_inode), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD| SLAB_ACCOUNT), init_once); if (!tracefs_inode_cachep)