From patchwork Sat Feb 24 13:50:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205868 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1155210dyb; Sat, 24 Feb 2024 05:52:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCNnljUW03saqBWzQtyVHyBiHjtB8b9vbobVwvv8x17tGOQYXGmVi6vNJP2ONOaN7eQpwfV9OpWqV4cLqMPzg7WzHHtQ== X-Google-Smtp-Source: AGHT+IHHwIWdiy5z1NFRsiG+kqluNSjpD8ObtpOoSa1QtNtKwxvCI0FsrA3EKee1lmB9LAe+lyuJ X-Received: by 2002:a17:902:d38d:b0:1db:ca53:403 with SMTP id e13-20020a170902d38d00b001dbca530403mr2286172pld.26.1708782737519; Sat, 24 Feb 2024 05:52:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782737; cv=pass; d=google.com; s=arc-20160816; b=tutkEHH7dsVw4O7mgDMlVpSW9M/F0hY9tpJPS3Zw6J0HrH5THJfNaQHjtoJFk1V9Yi vFVX5DkSU47c3Y4xR8iu4mfLR6qlriDfnmjGCGVOwxP175H7FH9D7Rv3M/AQ8Hb0yi1K Hdb0T4tF4390YSiHBerpF2ZRjx5KHvAFbmlTFfn2Co/AQ/gkjgjhzW0+HV7sOIdev9Ps 4i1dgD9uMPNNCJ9ijCdjbzrIF3yjXMvCZb7d64k0MNEbIt18liQqWKRiES11tSBYr+xk UOPg3XYqXSkpazbkG3U6tOQm996fgQ61Ut4/9Kbgp21fnyBjJYOkHVJLKr1BWEdRPsnx CAOA== 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=JSm+Ir7WRkiulBopfOJkhQ6MG0eswa+pECgZqNpCfq4=; fh=0TEEoRCYapfoXHqlYQDDpbGWwawqbbigOlb4zT4ijAc=; b=08mbSKZu/pdnv1Kl9dfSYf/gay8aL4U54Vhq7y95EH5FJg5u2463XhvI2PGVCLfR0j 3QWSTuigPf+56flYJkBLfqHMYdhVhqBzYvbwv6WRhJcRh6W/P8Z09f1mGFytykd+IdOS qyRhdwegpD9ubJGNSSN+iaSK4pEPc/HrI1rWFPOfEPBsGyiSBbNKSTVVsPiM/2ASLroT mx6UPBz9fP/M8BZvsqrupaTI8BPb2BtQ1CLY++ds4Gx7ttjcNo04NU/H816/BLkML4n4 RosnHCBptaynkOHlTCmvaYoCW2bwejZ28R6SQgUUYCHiOusWA4r6e62ppUOCF0mx/qU9 u9Tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="nEN+r/Mz"; 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-79670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79670-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d18-20020a170903231200b001d963a3b596si848559plh.200.2024.02.24.05.52.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:52:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="nEN+r/Mz"; 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-79670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79670-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 57CB8282E80 for ; Sat, 24 Feb 2024 13:52:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 200B047F5C; Sat, 24 Feb 2024 13:50:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="nEN+r/Mz" Received: from out-171.mta0.migadu.com (out-171.mta0.migadu.com [91.218.175.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 0AFBF4E1BA for ; Sat, 24 Feb 2024 13:50:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782611; cv=none; b=omkxNKcvKsbFBEtKMa4Jag0czvIedQxPF3jGanumyrfQb2v1CfiQ1RNVfr/GuVKSJ6ORU4j1zY2REZji2lbwgnVP6S2uMx5XkLrHiJhcwQ8++GCj0m3OMc2jlPxNTRDHPRqMpF0UXdckuUSEccKL1vjNopCLQ9U+I1S6s7AMRVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782611; c=relaxed/simple; bh=SC68QRObN3rZto0vm71oNtq2r60WxPc8SvKlqbdxyb8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ErZARibXFbMEqpatAxfMe3zMlf7d+KoX4Hnmi+qBJiReCYcexMW7hJ1CzYi97Byslpnuj4MgD8SQxlYbPDODF9qEqfo0k/j+CV8sr8KficFfbyr8r+EQDYU24WrM285ktnsXNn3bg8InmDJQZn6aF7CESDs0USmsMuq657mAzpE= 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=nEN+r/Mz; arc=none smtp.client-ip=91.218.175.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=1708782607; 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=JSm+Ir7WRkiulBopfOJkhQ6MG0eswa+pECgZqNpCfq4=; b=nEN+r/MzdqMbGgZ+spbwl3fekXWSnzE4u45vmFB9GcdFDRuPKn5LarV4Tgrm3Do2UFAo7h I/NrN/obH1evP/noF2aS0FKNXd+/ghElmI34+LuBkxZlTly6bWeR0yHF00pV6PjvZbLXlf 4LZm/MBrBxT2zAiay+gXI+lPZzvikNo= From: chengming.zhou@linux.dev To: almaz.alexandrovich@paragon-software.com Cc: ntfs3@lists.linux.dev, 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] ntfs3: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:50:01 +0000 Message-Id: <20240224135001.829831-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: 1791788568026255895 X-GMAIL-MSGID: 1791788568026255895 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/ntfs3/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index cef5467fd928..9df7c20d066f 100644 --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -1825,7 +1825,7 @@ static int __init init_ntfs_fs(void) ntfs_inode_cachep = kmem_cache_create( "ntfs_inode_cache", sizeof(struct ntfs_inode), 0, - (SLAB_RECLAIM_ACCOUNT | SLAB_MEM_SPREAD | SLAB_ACCOUNT), + (SLAB_RECLAIM_ACCOUNT | SLAB_ACCOUNT), init_once); if (!ntfs_inode_cachep) { err = -ENOMEM;