Message ID | 20240224134935.829715-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79667-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1155015dyb; Sat, 24 Feb 2024 05:51:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUXBhrdKFWffzv1M7T+htB6BWKEJQTnsZPR0zXWGSAsLOdBO0wcdEe6ovBH7XBkYS1X0xDHRjxlzYNhfqboQWfYAm9wtA== X-Google-Smtp-Source: AGHT+IG0CRg2tFgvMQc0PzFsrsTRmWL5ECG2wzKOAmnKIP4jY7otDV9eyxZEd2DUwNhom4XmB5ud X-Received: by 2002:ac8:7d4f:0:b0:42e:64ac:7f2a with SMTP id h15-20020ac87d4f000000b0042e64ac7f2amr2701793qtb.1.1708782696376; Sat, 24 Feb 2024 05:51:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782696; cv=pass; d=google.com; s=arc-20160816; b=i974SsKxOJQds5qW4n/m9qrq5Tm8NTeu7axpToxlvqMD+wYyoQaU3mZ4NqnwygCWCm uipbMQZiTvnIzgy88Tw7SWoCs9wZt2vHy1pWoi1co5Q1gxdn9u4ZCXIiKlMwKWKAb+Yb RA56I9+lQdn0XweOgdro8JKb0paZDjvn//T+40TYAIFYlqdHt6I3Mp6hDrh6y6k+Q2ey Xyosha7n++bLKnJTVPgn/1J2LVqIMKGuaYbiic4APDdtN8rCGF6WETq2h03TFTQXOy0U Mb8vMZnGnDt1yhSv4YjmjhjgMyxCiUmjxXdFT1Ns9HRx6IxL23rQCgayhpRtOs6RUXUl 2oQA== 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=i4x53/DeAXqIuE63M4BYh0uJI9aRbpTRYh6DBcH50Cc=; fh=P7LSLi9eqCn44HbclzzfjVyRq+iAzqOcpc4md5zMQEk=; b=sLXHCAX0p5iZQOy47rN5hW6rgSoQo/l9yLlakV9LJLEVFLiMOZIcy8gLUjDJHxyti7 LDPotoSp8T1a2JV0jPJf0Sbg0ECuU10p4HCZuFH4Fs8RA+5xF2DJcRUurPL5bnn6/jGS TYwP8nwLKuy9eA8vowrS5139O1fLCFnp/zgG0AT4UDnQ1fiS1nAHF+kPa/NDL90NRcli FiDK0k7xymNzZMJKAK7z10O84Roxqf2AomFXh5wGldkFxUFFPa0j20IHcO7sy3WLhhlF bveI/QQGcUN26fWpMoDawgQYnFPQOQIqPgIjJhpkE8WmcJIyV8tEv1rI3R5AXEwgp21x Xv0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=StsvjdgX; 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-79667-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79667-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 d17-20020a05622a15d100b0042e75350096si865176qty.310.2024.02.24.05.51.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:51:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79667-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=StsvjdgX; 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-79667-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79667-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 307A41C2124D for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:51:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAA71481B9; Sat, 24 Feb 2024 13:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="StsvjdgX" Received: from out-183.mta0.migadu.com (out-183.mta0.migadu.com [91.218.175.183]) (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 B82CB47F58 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:49:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782586; cv=none; b=jDCoq8ksiKusYTgR1Iflz0B7/NTfpTTMcjhuAoJ9kO+4m3II+lyW33OU4E3PBiJLz3zg78Np1epcITIinecf0wz/M0dLxaC8TdpjXN7G4oUnc7TlVv9+T72VRCZ06Z8dxrqONGBc2zbiXemY0d/ssfcyAImnht+qs0oVre3zt10= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782586; c=relaxed/simple; bh=4MFdOxYZyXwnvdRHx0F3mEAjpWaAcsoYtGAnqfX0Rfw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Nu4wk6xAMiznESrGEUTEHXAQsakdDeMC4wE+2T0PLZa20bmGa95C9HXbgDcnpX33YQfU+u2BGPDsLh4sS2HqYnEhbVleq2X0Jopb8pnfDL2btCH3oK+OC2vYT4tjMi0C3iGCEzDn5H40mxQm2VBLyrGo98aKyazvl0pnSY2pnJM= 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=StsvjdgX; arc=none smtp.client-ip=91.218.175.183 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=1708782582; 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=i4x53/DeAXqIuE63M4BYh0uJI9aRbpTRYh6DBcH50Cc=; b=StsvjdgXxJe3ET9i9V6PEo5Nq/3DBaGKQ59f34fgLmmQX0u2QLUxI1BjmE+QMkp6VR5PBj RiLlkC858MV0C52clfTPqdJ2f05iV8A3cxLpKZczKejWqgn7o8lNIvoHSABPjnS8gxZTmp coVThJqR/th/k3lVuN4SFdmO21PUvp8= From: chengming.zhou@linux.dev To: jlayton@kernel.org, brauner@kernel.org, jack@suse.cz, zhouchengming@bytedance.com, akpm@linux-foundation.org, willy@infradead.org 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] minix: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:49:35 +0000 Message-Id: <20240224134935.829715-1-chengming.zhou@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791788524348068642 X-GMAIL-MSGID: 1791788524348068642 |
Series |
minix: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:49 p.m. UTC
From: Chengming Zhou <zhouchengming@bytedance.com> 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 <zhouchengming@bytedance.com> --- fs/minix/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sat, 24 Feb 2024 13:49:35 +0000, chengming.zhou@linux.dev wrote: > 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. > > Updated commit message to point to slab removal. --- Applied to the vfs.misc branch of the vfs/vfs.git tree. Patches in the vfs.misc branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.misc [1/1] minix: remove SLAB_MEM_SPREAD flag usage https://git.kernel.org/vfs/vfs/c/84a9fad0729b
diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 73f37f298087..7cbd2b9f4d11 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c @@ -87,7 +87,7 @@ static int __init init_inodecache(void) minix_inode_cachep = kmem_cache_create("minix_inode_cache", sizeof(struct minix_inode_info), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), init_once); if (minix_inode_cachep == NULL) return -ENOMEM;