From patchwork Sat Feb 24 13:51:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205879 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1156116dyb; Sat, 24 Feb 2024 05:54:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVkJ+mww5hPZF2OM9wMv0uRXt1i0X3Ivh6rDpnFIP3jnXBrvtAE+t/zAxlGClPVXDHYt4p5L+ZNHLnGtFkIZk3U/JO3KQ== X-Google-Smtp-Source: AGHT+IG5OX+FS4v8tNISigvApaIU54x+mkYsC6jujTvp6xbZSR7XHk45e1fQZYf95J3D0xnHMbTw X-Received: by 2002:a17:906:f150:b0:a3f:4ca8:f93e with SMTP id gw16-20020a170906f15000b00a3f4ca8f93emr2134887ejb.24.1708782892690; Sat, 24 Feb 2024 05:54:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782892; cv=pass; d=google.com; s=arc-20160816; b=W4AJfPvX0qd3ufnwVfjfxlEd7/PVyACevWeDDIHZjv2UTKubhVBs9SOLxIr4YiUaNE dW1Wfh8Dyu9gZx3MNVQqV1vIHPDOcVcJQUiiLFrj+OMc5pn/2TgY4qtyaRy6v8hs8090 FKOf6e1dR2QNR6//E1x/JqXSTHOqhXRaHUr92tFI6J6YfAMp2G3bm7ZDyXnjD0wlJn4X VA1UeGExntWlHT+5m8qXKvT2MEX6MNaWYrgNecWjFTgZYfSTKmGBrcwF+5UwLmD9OGTB af6KyBxWOv7Eb55Hvz2GYb0O21qT1bF3SutLEgjmO7zXcpg9dFuAnsrosXjV8GFCQCmr FKEQ== 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=ND9qkOV1UkP+sYsDXzGAEHeSsE1orS6VTkDbzqTzyZA=; fh=QvsdFgV9uK9A/BWZVESBbN1yjUurefcQtszx3dkHyPI=; b=TL8dJA2OzfCKSABn2qJd6MFAdN5BsXTjLNfuOcdO2MKadND8Mhg4gz2WnHpmqLoHus c9c8GjblcV+E6C1h7xU6oDJ++ere9tMMfaI2HO5e4aqcTCSCByDYbrWujAIZ6llsOIFw 8OmVxDFzFTVVy4Ptgxw9N8ilxNewxXHVUOa6V3AEQ5pzP4jvI7vEQDuakSE2idCl5EKf RZgskeh6Et2xCu+nTrUDhhRRYSbiB02v5yFUyzCfgqYJbkmiTRZS9g2iIFHkalInVbRy D0kascYp5SSd0tFDhTiWpCRM2I+WxssQ+46cRqvFkNa/kZfIis8EDwISq17mJenfxURc IagA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=PWHQCkLC; 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-79682-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79682-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 p20-20020a170906141400b00a3ec891fe7esi512751ejc.262.2024.02.24.05.54.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:54:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79682-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=PWHQCkLC; 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-79682-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79682-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 529611F21BF3 for ; Sat, 24 Feb 2024 13:54:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FE184DA11; Sat, 24 Feb 2024 13:52:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="PWHQCkLC" Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.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 89F854D9ED for ; Sat, 24 Feb 2024 13:52:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782728; cv=none; b=C+XiNDhOdSaljqL0pLElTN7KEeyGLCqN7aIKKRl2SfDq0skeQ+VXKuJnncn0Cb7Rfloj75YvFHRUc0dZvdMfUYzrpYCfwDEHdsVmFha6EUIKrstI/WOJ/esl0oMkJgovQSCRXmF/MrJsvPpnoqO1lytv3bZHvgFWh+l9011I6Rc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782728; c=relaxed/simple; bh=pAAAxXuKk3bDEpM1Nllu3MJWcu5wPZETzx26K/+WDoc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kmCHNH52GxpvQiT0BVwwS04HKIZSflkH+ButyO20mMvZyuEGX73pji6My/aqmV2HyqKl8HCoPMyqqtyVKWDFipFmx4g1pNYv6wRcDd6XSFoF+fAkaBmfiKs8NE1G1L4rqQHmCFBKJQRgh0HobBNd8NBH2Hqm0D4i2RCm48sTB98= 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=PWHQCkLC; arc=none smtp.client-ip=91.218.175.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=1708782725; 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=ND9qkOV1UkP+sYsDXzGAEHeSsE1orS6VTkDbzqTzyZA=; b=PWHQCkLCZpj6yvd7E9Te5q8UpIWPTPXkDxyeP31TCjoPntb/hlfLzFWHVLHZNXBVizijXf gW5duMB5UbKtLobD0OuRXEQqlXgNFYtray9DvaQ5E4avxbbOEpyeJqVffkaUSMMQn4ocBg K5EVfpNTVQuBNCzR4PRxk5AxCZLDaHI= From: chengming.zhou@linux.dev To: brauner@kernel.org, jlayton@kernel.org, jack@suse.cz, zhouchengming@bytedance.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] sysv: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:51:58 +0000 Message-Id: <20240224135158.830266-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: 1791788730335537789 X-GMAIL-MSGID: 1791788730335537789 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/sysv/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index 5a915b2e68f5..76bc2d5e75a9 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c @@ -336,7 +336,7 @@ int __init sysv_init_icache(void) { sysv_inode_cachep = kmem_cache_create("sysv_inode_cache", sizeof(struct sysv_inode_info), 0, - SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD|SLAB_ACCOUNT, + SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, init_once); if (!sysv_inode_cachep) return -ENOMEM;