Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F24ABC636D6 for ; Fri, 3 Feb 2023 07:50:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232461AbjBCHuT (ORCPT ); Fri, 3 Feb 2023 02:50:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232455AbjBCHuL (ORCPT ); Fri, 3 Feb 2023 02:50:11 -0500 Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0FE393ADE; Thu, 2 Feb 2023 23:50:08 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4P7SVc4f1rz4f3lbQ; Fri, 3 Feb 2023 15:50:00 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP3 (Coremail) with SMTP id _Ch0CgBH9CGpvNxjE1+jCg--.46576S4; Fri, 03 Feb 2023 15:50:02 +0800 (CST) From: Yu Kuai To: tj@kernel.org, oleksandr@natalenko.name, axboe@kernel.dk Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai3@huawei.com, yukuai1@huaweicloud.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: [PATCH -next] block: Revert "block: increase BLKCG_MAX_POLS" Date: Fri, 3 Feb 2023 16:13:57 +0800 Message-Id: <20230203081357.1385168-1-yukuai1@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _Ch0CgBH9CGpvNxjE1+jCg--.46576S4 X-Coremail-Antispam: 1UD129KBjvd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ailing-List: linux-kernel@vger.kernel.org From: Yu Kuai This reverts commit ec645dc96699ea6c37b6de86c84d7288ea9a4ddf. This can save some memory, because after commit 0f7839955114 ("Revert "block/mq-deadline: Add cgroup support""), there are total 5 policies. Signed-off-by: Yu Kuai --- include/linux/blkdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 41a41561b773..c6861c7fdad9 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -54,7 +54,7 @@ extern struct class block_class; * Maximum number of blkcg policies allowed to be registered concurrently. * Defined here to simplify include dependency. */ -#define BLKCG_MAX_POLS 6 +#define BLKCG_MAX_POLS 5 #define DISK_MAX_PARTS 256 #define DISK_NAME_LEN 32 -- 2.31.1