From patchwork Sat Feb 24 13:58:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205895 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1157462dyb; Sat, 24 Feb 2024 05:58:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVgNa487UytrJDW/RDkKcJj1ChhgU2a9KfHP+UpYzkA6Bzl7+S+YF6rfFZxwZSdFyWZHxdWDsMmisqZG3mr9WNFzF8eXg== X-Google-Smtp-Source: AGHT+IHfcrOomUFUXKV5gGo2grBUWqLH/viU4J18L0qCwHNacWD+KnZ4mCB0QLM9e4fkymZXh11a X-Received: by 2002:a05:6358:9496:b0:178:c51c:7af5 with SMTP id i22-20020a056358949600b00178c51c7af5mr2859383rwb.32.1708783132638; Sat, 24 Feb 2024 05:58:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708783132; cv=pass; d=google.com; s=arc-20160816; b=HoAu7KXQX9U25UTHgq7auzwaULMRmyl6HA2uA11jCKki+4JNAx6MJcSR5BtZ9TnJfX Pto+TQYLmlGhCNNUNWmGl22AYxMNaT3lzcwsMTnpWCSDqM0+KyfnMXmFlZraxyK82IDW PDzpLwgYd7XqBNdRLOUioQuPIhqQov/9LX5dhli9qU1mR9yrn54hNl6TYSxR9CqT/W9d 9PybvCWqziOlQOxoWun75uZ8NDy7oCYlaS/vQ7A1W+ioxxtBX8KQSdh9JP9auuPJpnAT CpO5U8S2uYobadlUgZIBQTMAbKo70PK4C75kv9PmwPm3KMO+BqZdgpDjtRJYJ/49RsaU Jg5w== 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=bhu2va+UqqcLcHRhe7fhNdtlXWqQF9gbl8QqHkczEiA=; fh=3AwsslMac2gliIU48Gfo4RWZ+z/IoMSjcgndkZt/+H4=; b=iKQiGZeLuzrSYV5/WGglOSbg9hi7oTo7+5yuoPYqVE91lNPKQGXIsdviNHXP/rQKEQ 86NUQW2EaFnokiz7o3s71+XiuCfCdx2IOJQnelQFK6ubltzF+/UI9ijIHWGwPnXlGrmZ OXRFN+oWs7quLDjePx8gfchfFIxETObHcFr2dEIrTM10Hd3Y8ShASKjDxy7HbAKF2J7A uwP+0ZRekvypXOkqxVsXBKyOsS+kysV3RJ1AxvCFUSNZk/Uq5NnbcF3qNwAtynvu1l+J NUFQYhZYpnO8BbWLiAt60ZLoGYYPu4S2gw7U9zICThZ+9ux6vuTwagZVYumgJDGn0+30 4k7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=omP0CVZG; 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-79699-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79699-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f4-20020a056a00238400b006e489241e68si919099pfc.298.2024.02.24.05.58.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:58:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79699-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=omP0CVZG; 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-79699-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79699-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0800BB215FB for ; Sat, 24 Feb 2024 13:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28A6643AC6; Sat, 24 Feb 2024 13:58:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="omP0CVZG" Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 B961A29438 for ; Sat, 24 Feb 2024 13:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708783104; cv=none; b=F7eWD9Fa3THRafyS5ntbRFRm+scJn1TV+VyJO7q6b3dQ8S2IhYWy1KeCg90zTxJqd8nJkecZETO49Ll0FJNhYrceMoC6/gDbjYmT+a1sIsOq1j8xD8mFWZADr0HxQBOY4TebTF8Ouadvz3Dg5aPauElLzN9v88JBcLoRv9XU8Tw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708783104; c=relaxed/simple; bh=H3yM90CwtFVBt7rzdRIRr1HuWNvQAnPYVvqbM446TTg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=RnQihy7gd/KoWQw6tbhc6VvqETYeambNJypb2DOV9N370PV7URHOrVr4Jmr466boARRbw8IECpeBpFWzJrwVxe9EVmJDj77hWoN5+9+EY6GSkpyBIrLvstqRKrzWkpnS9L4O3sX/ZHrJJx9qvl7d0LQBtbBMuaE1DW6iVkdLEz0= 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=omP0CVZG; arc=none smtp.client-ip=91.218.175.186 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=1708783101; 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=bhu2va+UqqcLcHRhe7fhNdtlXWqQF9gbl8QqHkczEiA=; b=omP0CVZGkPBRT3fph8qZlElGpMxLCZqK/pMWtpGUTR9LHMbEE4UTCtLbFA8T19yFhCSRtu gt+pYcCPA02k8coZHJSp3DDfq3c2v7OB8PAomBG9lSrIudNkH064nXuABJSeZEzj1jJ6aP StneKXX+k7O3sqa4kzN+zAhqyf8RQ2A= From: chengming.zhou@linux.dev To: sfrench@samba.org, pc@manguebit.com, ronniesahlberg@gmail.com, sprasad@microsoft.com, tom@talpey.com, samba-technical@lists.samba.org Cc: linux-cifs@vger.kernel.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] smb: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:58:09 +0000 Message-Id: <20240224135809.830610-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: 1791788981703009498 X-GMAIL-MSGID: 1791788981703009498 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/smb/client/cifsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c index 9cd3bb48bd3b..45e57c852f33 100644 --- a/fs/smb/client/cifsfs.c +++ b/fs/smb/client/cifsfs.c @@ -1661,7 +1661,7 @@ cifs_init_inodecache(void) cifs_inode_cachep = kmem_cache_create("cifs_inode_cache", sizeof(struct cifsInodeInfo), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), cifs_init_once); if (cifs_inode_cachep == NULL) return -ENOMEM;