From patchwork Sat May 14 09:05:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Kuai X-Patchwork-Id: 12849729 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 E2E86C433EF for ; Sat, 14 May 2022 08:51:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230271AbiENIvk (ORCPT ); Sat, 14 May 2022 04:51:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbiENIvi (ORCPT ); Sat, 14 May 2022 04:51:38 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888986599; Sat, 14 May 2022 01:51:35 -0700 (PDT) Received: from kwepemi100003.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4L0fP62PCczhYnt; Sat, 14 May 2022 16:50:50 +0800 (CST) Received: from kwepemm600009.china.huawei.com (7.193.23.164) by kwepemi100003.china.huawei.com (7.221.188.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 14 May 2022 16:51:33 +0800 Received: from huawei.com (10.175.127.227) by kwepemm600009.china.huawei.com (7.193.23.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 14 May 2022 16:51:32 +0800 From: Yu Kuai To: , , , CC: , , , , Subject: [PATCH -next 0/8] multiple cleanup patches for bfq Date: Sat, 14 May 2022 17:05:14 +0800 Message-ID: <20220514090522.1669270-1-yukuai3@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600009.china.huawei.com (7.193.23.164) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org There are no functional changes in this patchset, just some places that I think can be improved during code review. Yu Kuai (8): block, bfq: cleanup bfq_weights_tree add/remove apis block, bfq: cleanup __bfq_weights_tree_remove() block, bfq: factor out code to update 'active_entities' block, bfq: don't declare 'bfqd' as type 'void *' in bfq_group block, bfq: cleanup bfq_activate_requeue_entity() block, bfq: remove dead code for updating 'rq_in_driver' block, bfq: cleanup bfq_bfqq_update_budg_for_activation() block, bfq: cleanup bfq_bfqq_handle_idle_busy_switch() block/bfq-cgroup.c | 2 +- block/bfq-iosched.c | 179 ++++++++++++++++++-------------------------- block/bfq-iosched.h | 11 +-- block/bfq-wf2q.c | 91 ++++++++++------------ 4 files changed, 119 insertions(+), 164 deletions(-)