From patchwork Sat May 28 09:59:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Kuai X-Patchwork-Id: 12863978 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 82E78C433EF for ; Sat, 28 May 2022 09:46:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233465AbiE1Jqd (ORCPT ); Sat, 28 May 2022 05:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232586AbiE1Jqb (ORCPT ); Sat, 28 May 2022 05:46:31 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A331E65A0; Sat, 28 May 2022 02:46:30 -0700 (PDT) Received: from kwepemi500018.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4L9Gxc2jf7zjX54; Sat, 28 May 2022 17:45:24 +0800 (CST) Received: from kwepemm600009.china.huawei.com (7.193.23.164) by kwepemi500018.china.huawei.com (7.221.188.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 28 May 2022 17:46:28 +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, 28 May 2022 17:46:27 +0800 From: Yu Kuai To: , , CC: , , , , Subject: [PATCH -next v3 0/6] multiple cleanup patches for bfq Date: Sat, 28 May 2022 17:59:52 +0800 Message-ID: <20220528095958.270455-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: dggems705-chm.china.huawei.com (10.3.19.182) 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 Resend just in case v2 end up in spam (for Paolo). Changes in v2: - add missing blank line in patch 1. - remove patch 7,8, since they are wrong. - add reviewed-by tag There are no functional changes in this patchset, just some places that I think can be improved during code review. Previous version: v1: https://lore.kernel.org/all/20220514090522.1669270-1-yukuai3@huawei.com/ Yu Kuai (6): 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-cgroup.c | 2 +- block/bfq-iosched.c | 38 +++---------------- block/bfq-iosched.h | 11 ++---- block/bfq-wf2q.c | 91 ++++++++++++++++++++------------------------- 4 files changed, 51 insertions(+), 91 deletions(-) Acked-by: Paolo Valente