From patchwork Sat Feb 24 13:52:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205881 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1156283dyb; Sat, 24 Feb 2024 05:55:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWkEvLA+G7RWuPAUu4BAUYTSA/E4fl1lzF6jsgMxEEsxxPvK0Z1yJhr56gg1ERZ9Rhmz7gy/44usprHskH5t6I/XlD40g== X-Google-Smtp-Source: AGHT+IHTkjPE4m67iPi5qT9MWRy9jbVEb9mGKwUIqpjL1UulMalC6xl2QMZD3om/vYZoB6nwKXGm X-Received: by 2002:a17:906:bc97:b0:a3e:f1c8:f5c2 with SMTP id lv23-20020a170906bc9700b00a3ef1c8f5c2mr1630981ejb.23.1708782917275; Sat, 24 Feb 2024 05:55:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782917; cv=pass; d=google.com; s=arc-20160816; b=UF7PLMpcG8so3fNkxTt8m71ZFtKYZWTH9DakVg4nG0kqoNyCE2OAX/hbheHO6Bi3+Q 9h0XisYsd40IFWoNZI8B3kg88KrDws+cVa1R3w8xrQ63c4DAxK6zIR4t4jvx1rGMcAyn gfKhdgcMmT0Vnbd76AeMaR99ZQLd0D0wrLHVF2GDqm/2BWU3BiicGaJe66Tz34qmNrGJ HNh2B2HjUPJyfL+PVwHaZ3E8xsnG+HzrYJvuF9oquSx87Oi0x/b08+iResNO1qoRSSWX xjjzFWOZ5BB2bx8g5don1aN27XDZVd1WSF4hZ5aGLtQ+mjmSYmvc+kzBQJCgmpiTXGSw GA4A== 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=URTB6rIWK/XPxRdAWncFE1qTwzE1f3lanP0572+Z/9s=; fh=467ujBBzMkhVKsImWc6MLWCWdGkDqiBw6IfrEWtfbEE=; b=yZgP9tAYvgluNHbALnQ5H37zMQYcf8m3cXI0nOCONv8sNc8Uw02ff5JkjQrOJnfTAl dUw7NJxVB3z8Kyp7RrGJQPoJuxAxUB/gAP+Y8i6Wyav7n0CjZerNQS+1srE3RVcMRlp7 iNF06R+S0jjdQXMcywJ23nIstYtkziQ+BTScqfdAoycDEp/3wP3DPyvzP3ot8uNYZMnl T5/tfd6UmeVfzlmQ/31tTFqUy7Sr0jjzG/PECIe+ObbYi1HKkIbRG8p4kju0htSokvi7 G7QA9F2vjoSyVUpMZq/jFbRXNu4CpCGQtNEiZA4rqPcrSKhuDA0LZoJXaRe7RP/5MZyv QLWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=GsrWa2qo; 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-79684-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79684-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 di6-20020a170906730600b00a42fcf2301dsi278126ejc.88.2024.02.24.05.55.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:55:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79684-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=GsrWa2qo; 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-79684-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79684-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 D3E561F23183 for ; Sat, 24 Feb 2024 13:55:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 813604F889; Sat, 24 Feb 2024 13:52:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="GsrWa2qo" Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (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 A0BFA4E1BD for ; Sat, 24 Feb 2024 13:52:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782751; cv=none; b=Sm7CmIYSn7Sur/uqVGXFZzZ0Mn6dm/HwfQQqGZkMTqJNKSO+3N5qLQCzZc9vUYXg+ZATxSIkrdrm2MrwEa/bVStWbG77mpFvUm1+l1gYOIhNsLnL45fzeGkAxJSmguYDXUXWuqggHw7MU28r0ItgbLrMMSEfrNusP5yAiVvyjLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782751; c=relaxed/simple; bh=Tz6THqrHvtchIgwhGtEJU01NYlucwhimzkFZKcdzw5w=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ZDZ9ujS4oIEh4pqwkzPzTZdzRi95Pao2sZa1inT9GqffnRQXgDrTMq5aVkuJzkepvAVo/Afz/x8N2xR0/6dNZqqz7KMgasRp4IEBbqJ/9NpDD9vXNct2NDp1+AjEEyc9zxNwWJd+x0NnVl+Pwc+250qE21A84GCaiKunn4AyAAs= 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=GsrWa2qo; arc=none smtp.client-ip=91.218.175.181 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=1708782748; 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=URTB6rIWK/XPxRdAWncFE1qTwzE1f3lanP0572+Z/9s=; b=GsrWa2qoDfJGxu2TTHaWuOK9G9PAz7e3ZFqKC1y/RVkFjvDZzpxngfDyWPUHtkB6mCSf9d ++vFoldKPsG2M8FsluhNQjO7pvS7fIdyPvZXaPlgfKi+GNWmDawTCFrIR7rjRDUzeIaO2X pz/tdDyWBiLwppsBcW7jbq+6WLSt11U= From: chengming.zhou@linux.dev To: richard@nod.at Cc: 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, Chengming Zhou Subject: [PATCH] ubifs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:52:17 +0000 Message-Id: <20240224135217.830331-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: 1791788756561027352 X-GMAIL-MSGID: 1791788756561027352 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/ubifs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index f780729eec06..8ae7648021a8 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -2433,8 +2433,8 @@ static int __init ubifs_init(void) ubifs_inode_slab = kmem_cache_create("ubifs_inode_slab", sizeof(struct ubifs_inode), 0, - SLAB_MEM_SPREAD | SLAB_RECLAIM_ACCOUNT | - SLAB_ACCOUNT, &inode_slab_ctor); + SLAB_RECLAIM_ACCOUNT | SLAB_ACCOUNT, + &inode_slab_ctor); if (!ubifs_inode_slab) return -ENOMEM;