Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2058368rwi; Tue, 1 Nov 2022 03:23:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM55bhBWe1+w4JI5qcIhc54t5dLN+gbZlsrhnaFQDO4mwVUj9da7RMBrEUCSfOuQFzOLKjO7 X-Received: by 2002:a63:cf01:0:b0:46f:f112:c6ce with SMTP id j1-20020a63cf01000000b0046ff112c6cemr1638719pgg.613.1667298207381; Tue, 01 Nov 2022 03:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667298207; cv=none; d=google.com; s=arc-20160816; b=feFTVmVmN0SxI5+PnRfKctyAyMwatItc0LUrRGVIBpsfi6E0EYq7g440bZIOacMoG3 3pPPc3VkGw1n592kJe2Wpsfs2kQpCAm/nJwXvSHTjLKDP88Ns2riZHBbxyC0iq5ROqPe mSg3s/0ikDFrnRpC3UvQZgmIObp4/cE3FtoyZGjm+Frigc4eH9hkJA33A5zckHs9J6n/ 2zZiHev/dre5Hy+p/Ct9pzWxTfBHvGDywRhwMOFSmhp1gNA7kHdT3czBdHi5MgBzg+I7 07kuwX0qwwXBdtDXrY+jpiJZ9cKL00nVoNcRfk8sfOf1cZKM6xFHOIqGBfYvXLUlV1eT Hdfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=5K2Fu7TVUQzKFaS9FFvkzxaK4M5tiPpHB8gATPWclks=; b=PbyRxEoVxWpKCAoBnxGPrccpBKf8u8rDqjM0qcrpsizLdUCV3NV4F9PXBvlIqA9gD4 KxDuxHU0cRxhzkBmnPJJRCP9RcqiSCH85ZaCGfbATHs6Io4BqRZN8sDKtjk6fDfdXdR7 Y+UHjgistqIOGPY4VNS2/trHxpPoP8lKTu4eD9YfN697nc09bCcv6VoY5UFF+vicasI7 sbZWufUGJJriAs4Y/LFO3GY7N2X0ZRSvk+mKkLW348B5kKNc9NmnFfiW1+c55YrjPzZK x1YEYSXhgQwXFCm+Mqi68/u+ODpkfQ7B7goUF5siB4e9dCrkk1x+jTohb478bF2rgP1/ yl8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ip9-20020a17090b314900b0020bc071d30csi13395927pjb.97.2022.11.01.03.23.14; Tue, 01 Nov 2022 03:23:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229766AbiKAJeZ (ORCPT + 97 others); Tue, 1 Nov 2022 05:34:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229970AbiKAJeX (ORCPT ); Tue, 1 Nov 2022 05:34:23 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A44A18B13; Tue, 1 Nov 2022 02:34:22 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4N1lGK4fknzmVYL; Tue, 1 Nov 2022 17:34:17 +0800 (CST) Received: from huawei.com (10.174.178.129) by kwepemi500016.china.huawei.com (7.221.188.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 1 Nov 2022 17:34:19 +0800 From: Kemeng Shi To: , CC: , , Subject: [PATCH 00/20] A few bugfix and cleanup patches for bfq-iosched Date: Tue, 1 Nov 2022 17:33:57 +0800 Message-ID: <20221101093417.10540-1-shikemeng@huawei.com> X-Mailer: git-send-email 2.14.1.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.178.129] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500016.china.huawei.com (7.221.188.220) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series contain a few patches to fix typo in comment, protect max_budget from concurrent access and so on. More detail can be found in the respective changelogs. Kemeng Shi (20): block, bfq: fix typo in comment block, bfq: Update bfqd->max_budget with bfqd->lock held block, bfq: correct bfq_max_budget and bfq_min_budget block, bfq: simpfy computation of bfqd->budgets_assigned block, bfq: recover the "service hole" if enough budget is left block, bfq: correct interactive weight-raise check in bfq_set_budget_timeout block, bfq: simpfy check for interactive bfqq in bfq_update_wr_data block, bfq: do srt filtering for interactive queues in bfq_completed_request block, bfq: remove redundant check if (bfqq->dispatched > 0) block, bfq: define and use soft_rt, in_burst and wr_or_deserves_wr only low_latency is enable block, bfq: remove unnecessary "wr" part of wr_or_deserves_wr block, bfq: start/restart service_from_wr accumulating correctly block,bfq: remove redundant nonrot_with_queueing check in bfq_setup_cooperator block, bfq: remove redundant oom_bfqq check for bfqq from bfq_find_close_cooperator block, bfq: some cleanups for function bfq_pos_tree_add_move block, bfq: remove unnecessary goto tag in __bfq_weights_tree_remove block, bfq: remove unnecessary traverse in bfq_add_to_burst block, bfq: remove unnecessary bfqq->next_rq = NULL in bfq_remove_request block, bfq: remove unnecessary local variable __bfqq in bfq_setup_merge block, bfq: remove unncessary process_ref check for merged queue in bfq_setup_merge block/bfq-iosched.c | 280 +++++++++++++++++++++----------------------- 1 file changed, 133 insertions(+), 147 deletions(-) -- 2.30.0