From patchwork Sat Feb 24 13:47:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205852 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1153980dyb; Sat, 24 Feb 2024 05:48:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUAlo+sWoESJSZR7hQaxjTMQHP5k2ycf//T4Z4tPG5tZ8nuSS0R9TtFS9bNgoeJEEkMdHsmZRujanQN/v5+gIluL8znNg== X-Google-Smtp-Source: AGHT+IEHs2/S32wpC/Db4JVDPAX1DuuzAVRX+2beLNLccsGjIjUCbjLstlq/5soXVZ4bZ3gtHD4z X-Received: by 2002:a05:6830:3d17:b0:6e4:8299:c690 with SMTP id eu23-20020a0568303d1700b006e48299c690mr2518748otb.15.1708782529388; Sat, 24 Feb 2024 05:48:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782529; cv=pass; d=google.com; s=arc-20160816; b=ndKPRmXaNfjg+Wr1Uar7bJ371Yk5pzcC483Q8mEUEPH5BIQWXdlLFWyKrM8U8sQOL1 PPhPaFf/N7ZteOwyjzVsHXGAEPLULUZhTFZHIYve+4MLd7tr2X00r6ESz5mcXTXs61sT XfUA93HMDju7Md2vVUnGAVxJuZnzLGGUwhjrR5oqOsyXde9htdYyecbZ2HbFyjE7NsFz rC4A9REZ3cCL+tooITOEkzJvYFiKESWzC1myvY6q9BPF9FylLJ1awM7A7eTWj7C3V2/m UvMzAajv6zWwY6KR3FFeEjDt/q8Q53woLj51JYA5qFCQajSj02N3veuVF3mfzCTjwuiz UD8w== 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=MxLyvi/CesOdpl8bUomYtKdQqg/V7o5lynW7iESDMvc=; fh=yj0aR9QSGv1Dn2EwTP4JdqRLIaBMi7u43tvDrfvYw5k=; b=QIH8UVNp0gNtJCYVhNEniypyMHs/k9CpAGu3mB0w9TR9rbQLPXsDcai+0prf4uk7DM 4BbnMbz4bPC4sPdeh8DSaFjbKcBcmRP6buhZ6rcrz3z7a3Hq7YddD7cPz0w4ktjPK3dU 8XqOseaCYAjsd0TWzY5JAGWXtH5pOo0Lkjf4emgPv/OFPP/JgHmymMiyYcSMpMZBeecT 8x2obBA8fMRmf7tPr24tfS4gF8tEueK0zgzDfJ/Wr+/D4URmFreq9kr5nK6bLYuX4qDX dyETlvpfedjpztrT9/Yzq+Xay18HtvEtQfK99Yd0/w9ipwzDqEv/1yHYpqT4ZR+mP6D5 Yn1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=DygGrPT9; 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-79654-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79654-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 x10-20020ac8538a000000b0042e3c93b998si1055375qtp.608.2024.02.24.05.48.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:48:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79654-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=DygGrPT9; 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-79654-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79654-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 2DD4B1C20F37 for ; Sat, 24 Feb 2024 13:48:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73AE94206F; Sat, 24 Feb 2024 13:47:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="DygGrPT9" Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [95.215.58.174]) (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 7A37047F59 for ; Sat, 24 Feb 2024 13:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782471; cv=none; b=MrNFqM4uRzVWWoVNK70UWtWzJoutyvqO56Qp3HfsMN8E05RH+mCGy/He9luKKQR8iir8aOAEjZWHtsDYGYRTOlDN0JqretLxggpFCdsg/iTTWs0mR+4M2C+ZbJ9dzaeRBhV2IL/J1tOPvra0kWNxA4bwdU2dOfklduJxl36wAHM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782471; c=relaxed/simple; bh=MnxFmmZlc6bm6/lKn+sX4uxeyVh8a20tKg8vCAqBINU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=iZUx5G5adwNXFmTxmpm3Ph22+g5R6/yzy1+7y0R37gWX9s+2raW5qBlal+nPaTQCk6g8n+Jt4FsbaB/GKFyY3qmitwXS0iDQPVjHeRPmJfVzqGbrAzCDZGrXir2mOcTO19+kZ2eU4EqthqBOwxX5xJ61AA8VYVyM31GQn2tzaEg= 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=DygGrPT9; arc=none smtp.client-ip=95.215.58.174 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=1708782468; 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=MxLyvi/CesOdpl8bUomYtKdQqg/V7o5lynW7iESDMvc=; b=DygGrPT9wAYcu9Wp8nigEYTzm/4P0xHbUkyfUn9s7IQW5ECNhGGE6soXmRxP6pWWm7ZSlw TJb3qZHwyjz/6RrGbggt2lGNzjRhm0Z3nDro/BEl35BCYTDLDfb9QKRNSEl5cX9kyLReCI PyC0cjHmN18QnyR086UM6UgpRopRB6c= From: chengming.zhou@linux.dev To: brauner@kernel.org, bodonnel@redhat.com, jack@suse.cz, zhouchengming@bytedance.com, chuck.lever@oracle.com, amir73il@gmail.com 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 Subject: [PATCH] efs: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:47:42 +0000 Message-Id: <20240224134742.829325-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: 1791788349231640018 X-GMAIL-MSGID: 1791788349231640018 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/efs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/efs/super.c b/fs/efs/super.c index c837ac89b384..e4421c10caeb 100644 --- a/fs/efs/super.c +++ b/fs/efs/super.c @@ -98,8 +98,8 @@ static int __init init_inodecache(void) { efs_inode_cachep = kmem_cache_create("efs_inode_cache", sizeof(struct efs_inode_info), 0, - SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD| - SLAB_ACCOUNT, init_once); + SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, + init_once); if (efs_inode_cachep == NULL) return -ENOMEM; return 0;