Message ID | 20240224134915.829634-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79665-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1154889dyb; Sat, 24 Feb 2024 05:51:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUlH9s15cYcdz7ZoN+VRYtB4dTBSsFMd1j1LkyI+JXveNzMzXxk19JDJbK7lrhxKlQAMIQBc2iY6QWJaPtiIwRnvOtnqw== X-Google-Smtp-Source: AGHT+IEUZshn7w4ii6+VhExAWV9nT9BQA7olSr8/0dOSGd12hJtPzSXZwf9r+mSIsobeEK9GKiUZ X-Received: by 2002:a05:6a00:80e:b0:6e4:e88b:f76e with SMTP id m14-20020a056a00080e00b006e4e88bf76emr2970944pfk.17.1708782672686; Sat, 24 Feb 2024 05:51:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782672; cv=pass; d=google.com; s=arc-20160816; b=T/MiMNRopk7ZxOUNIBW5UmduGo6KGkqzTHSp2kVZH/4S7KfbzSoib9Fi0RPb6rbN9e QDGnaxNEQ/DAiJ1LqDzyqBbelLp7hkY1b3H3PuxxYyliq87sPQ0EokUlr6E29Ddo3TTG W90zjnEZXOuTBXPpbyy9EQRYdmXdRTT/WptTVgB2e8Nyv57939clbchl06NdCxNohIor 060wtnuMZGW/fPiWo8MqXZ6UqtCb/oyN9yPTF2/AjxeJS4SV4WSjRxUYcrsACTKxZzGj 4Ro1wl+BFXn/hy5/fuz678HVBsq+nhFNN61GTu6zotSsKBAEwFQgbvDeOgIgXphymEXU G40w== 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=guC0tYSOwFj1pljxieRsXWQDCfWw7SO6MADQAq4Sld4=; fh=PolpdeBBUD2ISG0CE097Mr+toYGJpt4JJjcNCuACCjg=; b=P3ylniIagft4nyxbehymgWyESmtkih6fhASCtR4cMHpvUbrIu5345dZSoqhEvNa2fj M3z9l6lSpiNpoYrODEqp52k0zPMvMv1/egbO1Wqq9qE9dg8Gq9NRni46+aEa2wySVXp2 kOazDcSkFsoaF6YJbGUDqG4JSXIxR9uw+CB1WT8RLqF0z1J8nv9irLnLIFTJ2UnnrIWt CLJJHTxSTbO4q0OY65s+PW8yowDDxUuRV23I3yW13UyXV22xAYf6JbQiRRXHtXENiVu3 iBopdkZbWLbCXrvQLr7Ht1Irs2y8ukVGFxQTHWqCAX37XkdD3ffCwYUFjOjKcalgHYL6 BHmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=cN54ul6Z; 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-79665-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79665-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v8-20020a634808000000b005dc4300d4f0si908693pga.444.2024.02.24.05.51.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:51:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79665-ouuuleilei=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=cN54ul6Z; 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-79665-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79665-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 71F3D282D0D for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:51:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05D774DA14; Sat, 24 Feb 2024 13:49:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="cN54ul6Z" Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) (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 B3D2D4D9EC for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:49:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782567; cv=none; b=BPDAFIe8slj5w2K30sxms9tyZOJmMf0xNpnt9pUeCZ7yR39v2GaVPRvddRDFVvgciPNdo0wIkpBsf8j82VrbXMC859xG5j2rOGIq+kgQj4YF/3TVgsri2NqGzTecPVwRTVfxjG/s+c7N6rL6ntL7ThLgUeXpciWMGkTJWshoD00= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782567; c=relaxed/simple; bh=W7UD1F/5Bz5m3vhfBmXr5VJC3ie048pW9273G0Vl2K0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=H8O8CdUzUWEPXiC5OVhMp2SHoKb1wI7TiMn5mfL1S+miJHOfXdhqpRii/MF0pzGbt6NuDWEDd8/G/tg+Uk0iAJX46QXnC4XknTTCDavo8ttg1TenJ+dxsC1Qw4f+c0RUik0YQEZZUOQtoXPpr7PA5Tk+ibIdJ60lWONQPgwrhvc= 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=cN54ul6Z; arc=none smtp.client-ip=91.218.175.176 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=1708782564; 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=guC0tYSOwFj1pljxieRsXWQDCfWw7SO6MADQAq4Sld4=; b=cN54ul6ZprO/8c3ofBnudyuJRGjlWOQvkwVm6ErCNTDcq2HD4uCRdXdBHHUR5xWM2uAuj4 ZITj0g7dnScatjMKsRQMp5dPS0/DGVKa4BZNITsV0bg8dHJfPz3pVSBtG+kXWBN5TgGpI9 lwssAhdk2oMJ+UdqcPWjozXihH9TeAQ= From: chengming.zhou@linux.dev To: dwmw2@infradead.org, richard@nod.at, jack@suse.cz, chuck.lever@oracle.com, dave.kleikamp@oracle.com, amir73il@gmail.com Cc: zhouchengming@bytedance.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, chengming.zhou@linux.dev Subject: [PATCH] jffs2: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:49:15 +0000 Message-Id: <20240224134915.829634-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: 1791788499555390969 X-GMAIL-MSGID: 1791788499555390969 |
Series |
jffs2: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:49 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/jffs2/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 2024/2/24 21:49, 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. Update changelog to make it clearer: The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was removed as of v6.8-rc1, so it became a dead flag. And the series[1] went on to mark it obsolete to avoid confusion for users. Here we can just remove all its users, which has no functional change. [1] https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/ Thanks! > > Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com> > --- > fs/jffs2/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c > index f99591a634b4..aede1be4dc0c 100644 > --- a/fs/jffs2/super.c > +++ b/fs/jffs2/super.c > @@ -387,7 +387,7 @@ static int __init init_jffs2_fs(void) > jffs2_inode_cachep = kmem_cache_create("jffs2_i", > sizeof(struct jffs2_inode_info), > 0, (SLAB_RECLAIM_ACCOUNT| > - SLAB_MEM_SPREAD|SLAB_ACCOUNT), > + SLAB_ACCOUNT), > jffs2_i_init_once); > if (!jffs2_inode_cachep) { > pr_err("error: Failed to initialise inode cache\n");
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index f99591a634b4..aede1be4dc0c 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c @@ -387,7 +387,7 @@ static int __init init_jffs2_fs(void) jffs2_inode_cachep = kmem_cache_create("jffs2_i", sizeof(struct jffs2_inode_info), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), jffs2_i_init_once); if (!jffs2_inode_cachep) { pr_err("error: Failed to initialise inode cache\n");