Message ID | 20240224134646.829105-1-chengming.zhou@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79648-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1153501dyb; Sat, 24 Feb 2024 05:47:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUAhJGVWs/U5CWHn0bDI0aoppY+SGcZaUUUUfqO6FZapdAxJU3VMeeP1awbhy8bdu4QJ49dGLQMdI7Z9kMoeLKeO44Auw== X-Google-Smtp-Source: AGHT+IE/3vxMZ71P9wNFQdL15WEFtBud+GDrikkAxk90nM9fgt3E/Rkk5ITyuRh05Eng2oAqjUKF X-Received: by 2002:a17:906:3656:b0:a40:eba:4388 with SMTP id r22-20020a170906365600b00a400eba4388mr1485081ejb.49.1708782447037; Sat, 24 Feb 2024 05:47:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782447; cv=pass; d=google.com; s=arc-20160816; b=LVqZ7sOaj/7JxjMWrImC4zxeEYZr/DaVuzWBAA+koY60Eja4C5DHAhzoqFZd+igWqP juRlU3OgFkPHUsW7o6XvI8DWHWphAknP6pUgRngMf0jHOF5NT20Bx9RJ5bHm12uQmPzf gTVBid97sabtmxnTRxS5I9qGRDeLGEL9XNHD46o5G7HfZuQEO/bDycgM15VzC+L/qeN/ KFGb4XDHpworVvIFD/zK+kF8sia3SgpvrLmYRTiFlsdmff0jyXNuK41gkyETUten/xif S9A3qR/uXen5JuRRXgO64BVd1sA65SRfpdeHyb2ccDpYEMCib7Oyj1hsx7B3at59+pFi gJBQ== 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=R0N4mdAY/CNTfeRGszBe8GaA+/sz2rbWH4NYR0SsEuE=; fh=Vi7v3iTMaW88ykBwFqQfDhciuNkPU2LlqVyaJMELP70=; b=TU3SzhGh6SXZGwXaxTsYMk6bJBX8ETR9d7mY9TefSePgexhBK7ZB+w8h9oU7QBXSYb kyncyoFfWFqSELwEvxDzI0ZFDas0KW3F1LLEqsphHAGHN0zNqxtHHtlus9oAoiG8r/Om um4w7SlwjHeMiYPf4bDVxC+SwBjz5aWZgC9zioADTDFdVEEM5SltWhHBJS8aYrg9RBy3 G4rotPbBuYXLR/8tlzJVQsHUv+VNof4WwcG1BO6pP+5nLX0bBPjEiRzRPoCnRWkcfDDG CQFANTZBfmOG6qfSVCSLcRSluWyb1jV5HANNCvRbPWkiD7dzL3S00KY0u0BvedLPZl5k volw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=C5GnozRH; 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-79648-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79648-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 x24-20020a1709064bd800b00a3f6ba0165dsi510490ejv.261.2024.02.24.05.47.26 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:47:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79648-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=C5GnozRH; 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-79648-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79648-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 A12871F22AAF for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 13:47:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9925D4317B; Sat, 24 Feb 2024 13:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="C5GnozRH" Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) (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 49CD046436 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 13:46:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782418; cv=none; b=GLdbBMx1rXV8UewgippgcI9rEU9bt1GNGCNUqP8WGYKg6vZs7FHJD00YUFPV8tiTQ3Bm8xkO7IEvjtJW0o9jB8k3YqRX8NRCZLmJfkGwjLVIjJ/MAvvkz3iBaa3P7fp/kcE2YL/gFdTdFbXaGNPfeZ34SWbWY8FijKsBFaYllco= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782418; c=relaxed/simple; bh=9o4ItFnQkF0G7rDEIpOqVgLxMM11vE0VMqUAksQdmYQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=YoX0YRFr5sjZG5hBEJxEPpxyJafQSqypTHkwAtw9AWjSEdrZKk2Tzq7sSZfYLNjhw+I8P12uhsfaocdZfOhY6mcFPWrKuHqhn+cUPe3ykZQJrJX1eaYu+8m5uOOg2XQmxTPHtyi4rXro5P1FPuea/4OJKAsdRuWDQnUG/RvKDoQ= 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=C5GnozRH; arc=none smtp.client-ip=95.215.58.177 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=1708782414; 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=R0N4mdAY/CNTfeRGszBe8GaA+/sz2rbWH4NYR0SsEuE=; b=C5GnozRHe5XmCcqz5SvmjsgVf95ZmodYUD55amGF7DYdFB9Zsh2x83jKl3IYFdrq6eAd1K LR44recvXsKiIeglG/WvxXD75EdIkkWfVRotkbmlvsxySTdHWtV/DGddSqccftOdBYbeov UwVn123fC8GgnPcN8kaU5x53CHHQRtk= From: chengming.zhou@linux.dev To: axboe@kernel.dk Cc: linux-block@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 <zhouchengming@bytedance.com> Subject: [PATCH] bdev: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:46:46 +0000 Message-Id: <20240224134646.829105-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: 1791788262947971047 X-GMAIL-MSGID: 1791788262947971047 |
Series |
bdev: remove SLAB_MEM_SPREAD flag usage
|
|
Commit Message
Chengming Zhou
Feb. 24, 2024, 1:46 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> --- block/bdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sat, 24 Feb 2024 13:46:46 +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. > > Applied, thanks! [1/1] bdev: remove SLAB_MEM_SPREAD flag usage commit: 82c6515d8a970f471eeb8a5ceeaa04c3e5e1b45c Best regards,
diff --git a/block/bdev.c b/block/bdev.c index 140093c99bdc..e7adaaf1c219 100644 --- a/block/bdev.c +++ b/block/bdev.c @@ -383,7 +383,7 @@ void __init bdev_cache_init(void) bdev_cachep = kmem_cache_create("bdev_cache", sizeof(struct bdev_inode), 0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT|SLAB_PANIC), + SLAB_ACCOUNT|SLAB_PANIC), init_once); err = register_filesystem(&bd_type); if (err)