Message ID | 20240224134835.829506-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79661-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1154528dyb; Sat, 24 Feb 2024 05:50:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVoiZxHTkUbVOelOAei5mn9AzyBE0VH2IH5UQ1bNWTQuccCejUfcL9rpmO//HLTENj36ntxmntINIzf7xKevf29Xv7vog== X-Google-Smtp-Source: AGHT+IGv7rXZDNk+hs8V7JkKaIhxbTTEIZ69cYahK9pUQNp3GuEX3EI4hbea4Pt3J/kdxNId6k5s X-Received: by 2002:a2e:300c:0:b0:2d2:4f81:4dcd with SMTP id w12-20020a2e300c000000b002d24f814dcdmr1431358ljw.21.1708782623619; Sat, 24 Feb 2024 05:50:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782623; cv=pass; d=google.com; s=arc-20160816; b=difbjd1M4G8y7FMxpobdxvQXI/w/MEZ4XPJ4aVHufuhKL+y0o/mz2i5m7FsGPvmd1s E7vgsIpP07gxnTnWHeKl27xstWQzGk6kN51X2Z6DibW+9MaTXDZg7CnWXR/qjzvvGcay fz5u3PAgg+M6ydWu4hlsD7Y9lH4xZZFqXlupUPmQ6DwntX2M1PbfqIz9/S/MVftpNy8d Bi/QF0jMC5VExH7YfBn+3YZvXt7ca1hcFKsEkbg+93beSKnieBkZITNg2p2n4cHbslJe +seJeoXimL1cRqAfLWbAJgjXzpA/qpQ8NRA+Sq7HFk2vwjkySGTjRpsJ62jQTaXHVtEH 13Ew== 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=FQvJ3CvUbNX0txCaldr4SVr9xTNixtNpshkH7csGbWA=; fh=0k2RQ5IDNZ848lAODXu61lzN2tUNixxPyoUjgJKAFmk=; b=fTlQUEW1LakbgMddlFNlcZ2gd2cXRaJW9ePXPuu1YFQqCV84+If8NwZP70R71KHEyS XUzBaLzhJFM6aSfMz5tweIBfbZ2pDow76WoMksai5ZupRY/LzamHQrGZxFGd4c4MAC8V hgkZVYhFxc2hcQiElvRRuWQZWDNMybsAzDGqwsbeHh0zZ8T4oW9YtLei7nI3b9H4mcLt 2iPC57eogI9sYGpAus/jRfXaheHkn9XUpdYvRQ++Q/hcYRHKh1R65fwJEBLU+GIuVHUS vqQ1wOoIZ5LjFmrwr5guIpLTUfG+tKrlbGdakJDjQxL/KfEmQtsLz6/TAgLNylw8e6f5 K8gw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=k2b7QEWf; 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-79661-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79661-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b11-20020a509f0b000000b00564432b527dsi514804edf.551.2024.02.24.05.50.23 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:50:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79661-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=k2b7QEWf; 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-79661-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79661-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2EF131F22F4D for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:50:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D42114D12D; Sat, 24 Feb 2024 13:48:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="k2b7QEWf" Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 CBFB747A7C for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782530; cv=none; b=TsavZwkfDvqoyYwpXa1jNuk2puF4HLUb6GkgOWvVHV2dufrQeBLl0GNksjAIDjJOLFLUUJGw14n/euBmuEd8Ez1lc5byCeIFxFk/cl8VLiRhmZe8uGCu5iXiYf1IGAj6SCNd7e5EXm4BDzuKqy5Pjy1Si4ddaFOadvD9724r0RI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782530; c=relaxed/simple; bh=xS7CfPuCdYv2/HB/JqvriQTGNTjesNnKWYbwAyp5+Vk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JjZ+O/iXwvOUt1DnK2OmxwmTaTrs6vf43nEW080MKztME5chfh3+tW0XgP8Z6mpnpTNv2BmKHxWRJaUN8HF7tmLdQ8iIdtD6bnqZ9cwmeBss9o0ws4X47NmZWj8KMGCggcPRbbnGMcD9LldN7X0UNZPFUKRagQ9eZ+Ruwsk1qk0= 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=k2b7QEWf; arc=none smtp.client-ip=95.215.58.171 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=1708782527; 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=FQvJ3CvUbNX0txCaldr4SVr9xTNixtNpshkH7csGbWA=; b=k2b7QEWfKeHFi17VnPddVgjb0auAhanPy/rUOPm1RwcsxuZdKvMHzj65mxyGfRKI8FPS8C kYErZvn+31TShvQv7+lutM+lbutvTfpeyWt1Vmxc/l4x1Vi5NXCfYa7j3Xfe6IFDpvr7Tq K4pnd01jiTYRDGtnHJyVdpuvZeoSDFk= From: chengming.zhou@linux.dev To: hch@infradead.org 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] freevxfs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:48:35 +0000 Message-Id: <20240224134835.829506-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: 1791788448121952857 X-GMAIL-MSGID: 1791788448121952857 |
Series |
freevxfs: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:48 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/freevxfs/vxfs_super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Please just do a scripted removal after next -rc1 instead of spamming everyone..
On 2024/2/26 18:06, Christoph Hellwig wrote: > Please just do a scripted removal after next -rc1 instead of spamming > everyone.. > Do you mean put all diffs into a single patch, send it to all people? That is also a choice if it's preferable. Should it will go through the slab tree then? Thanks.
On 2/26/24 11:24, Chengming Zhou wrote: > On 2024/2/26 18:06, Christoph Hellwig wrote: >> Please just do a scripted removal after next -rc1 instead of spamming >> everyone.. >> > Do you mean put all diffs into a single patch, send it to all people? > That is also a choice if it's preferable. Should it will go through > the slab tree then? In case that's what Christoph means, we should exclude from that those subsystems that already took your patches. > Thanks.
On Mon, Feb 26, 2024 at 06:24:32PM +0800, Chengming Zhou wrote: > On 2024/2/26 18:06, Christoph Hellwig wrote: > > Please just do a scripted removal after next -rc1 instead of spamming > > everyone.. > > > Do you mean put all diffs into a single patch, send it to all people? > That is also a choice if it's preferable. Should it will go through > the slab tree then? Yes, send a scripted removal of what is left after6.9 -rc1 either to the slab maintainers or directly to Linus with the slab maintainers ACK.
diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c index e6e2a2185e7c..42e03b6b1cc7 100644 --- a/fs/freevxfs/vxfs_super.c +++ b/fs/freevxfs/vxfs_super.c @@ -307,7 +307,7 @@ vxfs_init(void) vxfs_inode_cachep = kmem_cache_create_usercopy("vxfs_inode", sizeof(struct vxfs_inode_info), 0, - SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, + SLAB_RECLAIM_ACCOUNT, offsetof(struct vxfs_inode_info, vii_immed.vi_immed), sizeof_field(struct vxfs_inode_info, vii_immed.vi_immed),