Message ID | 20240224135056.830013-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79676-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1155619dyb; Sat, 24 Feb 2024 05:53:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV6y6tPtpuE8enXCgwtgtkDt9D36BfMrlLHliBbWsRrJPrLUY807oj/WiMtxaajcNvTAD5wvDKqVhpYPasXC8cjq2BAyQ== X-Google-Smtp-Source: AGHT+IEmHxo1S84yGSerCFWiIl+vGeRTDyocC2KiDUwlmoLfm/P0bxsAJ5iGmtYu+QAu+7luF/ds X-Received: by 2002:a05:622a:64a:b0:42e:28a0:bc29 with SMTP id a10-20020a05622a064a00b0042e28a0bc29mr2660482qtb.57.1708782812528; Sat, 24 Feb 2024 05:53:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782812; cv=pass; d=google.com; s=arc-20160816; b=LPV0cHoun72C6ZKuDLkEXxSspht9eZWBUtZDVQ0AEgCo8tdPWcrdBDJW7NfmE1lwPd tKRJeOgxBgh25PWZz4C9Mr2HsD4AjG75v55RqYycN8l9TO9PUYHQs6ZwRj5iKlW6UpU6 JPyHGAzhRtH1Tr4+2ROLaX2zbbXyiJMLrXW5rX/ZIFf90+oc0/QhCuxMgkz5VpKbpN7h 1192l+Kdrr2RhRyPMz//gu2Lsj0XofaciQf/6XU6EnonTbfj9A613tiayGL1bK+F2zy4 cASq3kZFgQuYz9+3h3t+EMH5YjoIxm/f3RYZPw8iuo5EQqTtRMp8OEBmTA4pnwEKXoJm ru5A== 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=74hjnfbXzM8xetty/Ed80q8BUXl/uQI6df4zjuHD8Vw=; fh=J37f83luAxOhhNsgPU7R0yGU1pF38EbUnwUdKeq2Ge0=; b=a3OrFE9PFM1e5GgVL3z1/iDMK+9QA0cb0US8WDKhvHZ3/z1vhPPekk/HWEwUGMAutH KPchXybCfgstKSI+Ds2w88Ad4R2NzAv1drbECExFTrRykk1bEnx1kZ2PFE54B70b5UVi 3pe0XFlGLrnTPhv62Gjqs5hgckHNjTIb8yXmuXPwD4lekrvgFSlaFiQd6nRaJlBezxjx w2rEjZ7cESl7E5gDsYdFmeQox1wbcRcKX2agh1rlCNrVtXA7VH3VhmCVeb+hrajFBfKv djMGz7N3s30YO4Z7zdB2qOL4V4pbLMtLzIDz9SalSOd4dc66KXRlIKVJzS8J6q2y3bxS hm0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=qmiHS760; 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-79676-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79676-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.32 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:53:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79676-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=qmiHS760; 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-79676-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79676-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 50C0E1C21209 for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D560B4F605; Sat, 24 Feb 2024 13:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="qmiHS760" Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [91.218.175.173]) (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 DCF6F4F1E2 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782666; cv=none; b=UM4GmMrQOWpjCzWw09Ke6CG5BtyDi9wLz0TCiZC1JANtDSBjfAxTCnyhmHzKgpLSSqHIPfWFCHgMBdbU4A0ZzoG41wZbSKvi1aTxcJ6ohBD11Zxxq+hpukGkLNJSeSu/RXdJrp5XVlpqf3aq5R5ImRXJ60Zj2bv/0tv5HVqe9zw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782666; c=relaxed/simple; bh=wl08YTsGOyV0uYb3qAMrkDbzG88wVeA9z9Yorr+gl8Y=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=o/1dJM5osX2D6laZVY6lavyQhPnefzCOF1ke0XoqGlB7J5sA9SMRo6c7fkpSJ5M8VJ+jBZIU1ce0NG7GWciDjskiGvVFjiam4WzHprbl+06gyqTSvHRrSIxR/tXRgm7Yws1BkZ+IWNJNBAp7MpgqABozAI2gxzDzEjXaOu34ydk= 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=qmiHS760; arc=none smtp.client-ip=91.218.175.173 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=1708782663; 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=74hjnfbXzM8xetty/Ed80q8BUXl/uQI6df4zjuHD8Vw=; b=qmiHS760GDgKjG/a0wRBh7B4A5YMiZLOpWfGIYXZ+DAhyHt525NTNrMDKtUxYi3g+WMTO+ /aliFpbp8CXqeuxme2KANYK3m+lJQVaSRsr7E03mon62cGscGPUXD9tebBp4+eF+nujfxU SvBsdOqQLcZtObIavSM6Y9zceCtaLus= From: chengming.zhou@linux.dev To: al@alarsen.net 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, Chengming Zhou <zhouchengming@bytedance.com> Subject: [PATCH] qnx4: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:50:56 +0000 Message-Id: <20240224135056.830013-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: 1791788646058749494 X-GMAIL-MSGID: 1791788646058749494 |
Series |
qnx4: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:50 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/qnx4/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 2024-02-24 14:50 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> > --- > fs/qnx4/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c > index 6eb9bb369b57..d7a77040e42f 100644 > --- a/fs/qnx4/inode.c > +++ b/fs/qnx4/inode.c > @@ -359,7 +359,7 @@ static int init_inodecache(void) > qnx4_inode_cachep = kmem_cache_create("qnx4_inode_cache", > sizeof(struct qnx4_inode_info), > 0, (SLAB_RECLAIM_ACCOUNT| > - SLAB_MEM_SPREAD|SLAB_ACCOUNT), > + SLAB_ACCOUNT), > init_once); > if (qnx4_inode_cachep == NULL) > return -ENOMEM; Acked-by: Anders Larsen <al@alarsen.net>
diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c index 6eb9bb369b57..d7a77040e42f 100644 --- a/fs/qnx4/inode.c +++ b/fs/qnx4/inode.c @@ -359,7 +359,7 @@ static int init_inodecache(void) qnx4_inode_cachep = kmem_cache_create("qnx4_inode_cache", sizeof(struct qnx4_inode_info), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), init_once); if (qnx4_inode_cachep == NULL) return -ENOMEM;