From patchwork Sat Feb 24 13:56: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: 205894 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1157385dyb; Sat, 24 Feb 2024 05:58:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVdxn8LBp1IgPaI8kCGYHTN3dZQ+sfI8TEbZQpWO+RW581m32SXbcMiIqbFrpSxz8EaFQGnCpPx8frIDJVYpVuAEViP2Q== X-Google-Smtp-Source: AGHT+IFyraDNgVimVQIoSCWfGO8Kg+q45qrJnDclppshOV8ieW4FdQR5GmjLJ8wLpY4E+Erin3TX X-Received: by 2002:ac8:4e84:0:b0:42e:6796:53ca with SMTP id 4-20020ac84e84000000b0042e679653camr2435802qtp.47.1708783116358; Sat, 24 Feb 2024 05:58:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708783116; cv=pass; d=google.com; s=arc-20160816; b=yAhDwIAv7xSARvzUL33v7Q/H/kGaIDm5IEMEvAFCyEZdxCmm5ng9T8b3FyMei9YJmI WPENMsYFWqf8I/Xk3jdHfv3bogITStky3Y3jm1QeT7HX/ES2pqCe6jPsn6QM5XzXP8qc 6oTWQ+jUUZMyA9jqzBEYIhPHFjJ9WwLm6icE05LtGU6KBGcyFjds7VP+qC3hAv2EeV7E Mw7pkWAEYAbuFIHGsGr0NF5nHXSA5HxmWJvnLioDV/K6k6OuMT6fNyVqDAa4CY7U0/mM RU/P4hr1IDy1XmPlgznWALcmZQJzRP+yr7/62bgLdagOWcUZJuiYng/rMWmzpyZ29RNz q+EQ== 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=H3/ymnu2bwzOG1xtj6BGNVzrZoT5h88qsVffWfbXE5k=; fh=yGgJu51CAKOooNCgvprN0fN7bxrC/skZLfHSlHrOMHA=; b=gp5DADwLkV+l6zqAGdNmDEgFtSg/Em775T+G7Wiem8TZde2l2NOA/27Qcapg8aB54f hj0spCGFI8zLLe/WvW0zzw+AcZsXptVABPLk45w0Ar+2hBKOvOjje0beVM3i7QBbcXUz V76+nI4hhadKR1BtcOiHwhXPudxA1hGjxZ+shx4T0rv0grdvcxTtUOSNHpWvjV7EQaXh 7K7RL0EmCqkRDozBUc2aoI2r8iLwZxoowdk2FzE//ANHEubCEhSRMkrO8PPnFpfntkqV uw7oKYFwhYMEMHKe1+A3ZQ7SW2sor5pnq45XUt98k5ygC9KLMtNzVNBz6AeROHNeF2kM 6YTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=qdYCT4F6; 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-79698-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79698-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. [147.75.199.223]) by mx.google.com with ESMTPS id i16-20020ac871d0000000b0042e6afe4591si1077046qtp.308.2024.02.24.05.58.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:58:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79698-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=qdYCT4F6; 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-79698-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79698-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 2938F1C20E6E for ; Sat, 24 Feb 2024 13:58:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E4BB47A73; Sat, 24 Feb 2024 13:56:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="qdYCT4F6" Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.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 6BBB641238 for ; Sat, 24 Feb 2024 13:56:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782970; cv=none; b=Y31zbSbi6f3wS7mxhPEYthq+BbBru97RStnVlTtzBIZUj/70zaNvu4tUKVlPe8Kp+13dOtJ9mTSB+e4uCFOsttKWb2/LDRm0uQO9eHz3w7+G5VNR4OkQlxzIJ+eGyJZMQ4RV+LY8Ic1Zdtw4JdLKsicO0fNijvjXcXgaEXA/+b8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782970; c=relaxed/simple; bh=wqU1XIu/v+XLJI/cRmz79wFtMQmM13m29GLow/wRHpg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Jh/NbQuwW50i5VdaeFnWRVqJRLlIOrLcaFgksDMUMaBMWThFHst/IwdUhl8nmiQS2ipZCs+6LM3R2qV+x+LuvfmEgdsdYK34EovtBUy5fgFR7PhdhdKgouMOJn+WeEgB8pCVNn30PrU6PAJmGUfxXG3EACoi4t4KOv0Oqpk5Gcc= 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=qdYCT4F6; arc=none smtp.client-ip=95.215.58.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=1708782968; 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=H3/ymnu2bwzOG1xtj6BGNVzrZoT5h88qsVffWfbXE5k=; b=qdYCT4F6bz4Qe/0lCwpHIJfEh2rWpncewCx1qRED1tdIAiGTo/SN7IC2h7uHYtwjkLleZ7 1JoxdJfsml0uU5urGOe2IMY6u8HJks/QbKXk/vVkuvLPabtO1Wx2JklOpgQhngj2eKphPO Hi2IXjP5t5qNguzlKBi3zg5dx68Mc14= From: chengming.zhou@linux.dev To: jaharkes@cs.cmu.edu, coda@cs.cmu.edu Cc: codalist@coda.cs.cmu.edu, 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] coda: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:56:01 +0000 Message-Id: <20240224135601.830560-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: 1791788965032844665 X-GMAIL-MSGID: 1791788965032844665 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/coda/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/coda/inode.c b/fs/coda/inode.c index 479c45b7b621..9ce6b9929bc7 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c @@ -72,8 +72,8 @@ int __init coda_init_inodecache(void) { coda_inode_cachep = kmem_cache_create("coda_inode_cache", sizeof(struct coda_inode_info), 0, - SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD| - SLAB_ACCOUNT, init_once); + SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, + init_once); if (coda_inode_cachep == NULL) return -ENOMEM; return 0;