From patchwork Tue Nov 1 09:33:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kemeng Shi X-Patchwork-Id: 957 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2845419wru; Tue, 1 Nov 2022 02:35:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4E29ru1VxewC00UqJY6xm25XN/+Wpvnj8X5D37ErxW7/Y+zVoNsgdkqSllnSMUdXDolQja X-Received: by 2002:a17:902:8c81:b0:178:1701:cd with SMTP id t1-20020a1709028c8100b00178170100cdmr19048830plo.138.1667295354111; Tue, 01 Nov 2022 02:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667295354; cv=none; d=google.com; s=arc-20160816; b=tLafhEtzDrM6rPagW6zDngCJnvPSc7x4fel6cP0BHpKGllnMgBWw5F1zUrQzj17MmM YcG56NcQ1CvpWpMhoUeASQb8hGYIzRfaPanOgH1Lmod1TT0Aw82SGfnkxloD/PhTxlqO pXp3DJOXJH+BUDFZ7+7p7vFSMnTFNRsG6EYgfWQiKPF9/UozBCsDcoF3AE39scRFFDGF frzoQOr/oOqjyHLjbxlesEzbsCB5HdVX0ffRKZw6nz8ALH7q5yMCW5YAO2llMFEUYqO5 oXXBvXwnhd+vFYQz2zYUqf682KOYZg3vnosfqcBh2UrJGyKqgvarA9jctCuxlXNefarw lzIQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h1-20020a170902f54100b00179f3da346bsi13014310plf.39.2022.11.01.02.35.39; Tue, 01 Nov 2022 02:35:54 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748285893350013375?= X-GMAIL-MSGID: =?utf-8?q?1748285893350013375?= 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(-)