From patchwork Mon Jun 19 11:04:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 109926 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2937707vqr; Mon, 19 Jun 2023 04:29:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/zpPqHoeyrFzKj13qR/nJuhEVMKF3nEjA3/TPMIaWwdpQSD17sYKe7XtK94Nbsi5SaYOH X-Received: by 2002:a17:90a:357:b0:260:9cad:c581 with SMTP id 23-20020a17090a035700b002609cadc581mr1160519pjf.3.1687174152907; Mon, 19 Jun 2023 04:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687174152; cv=none; d=google.com; s=arc-20160816; b=uhAGzoS/uZwQQNfHlGh0nQpkpir3PUPk4rfW7Y4Hj5/136AeL3WHLbXsC5ulHO1Dw7 AaRGdWzIFYjnyhtYYiuBdRuok6r4nCBZE+i7HWLNL9VM620VE4QxEEUnb/aTQ7tS7Ga8 bnFBIjnWw2hT0ozr9lhEAQ5SEvGX/8kUdjyq9klERblYOrWrSGHgAzTfOn/Amx4qrHsv 518EHDBtt/ppkccqR+i2wPgLn+px2UblwVGxPsSWZ58yiRiVTf+QpdYD/HA4mgK5Ixrr mB6JUJlMohcwDRYvNJGjBomeZYCFMZw+d2EUFG13zmemPvavlAD5aTtF1ecOsk+luYqx GUKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=VjEioIM+Zyvtme47DXVE1NS8L2pAnlF2IpyaCJ+fnlE=; b=YgrJ18AOErAT8DdSs2gUMQYmd0uTe6pmOtv/MlC2uVnQHT+xmA/V/5gKcVnHoIrnFp 6pnxUsd02zpTza0xGpS2eGfMO8aq+XdeRt46l7zZbCZX1UYTFaFlOr/aAgDeB6tY262C rBR+240IniYry0sTXPkrDqn8RlR8w4R2y+u6HM3VRsT8E3bWlpZwYKzQZEQLh5ceZOui 5fbeXOvUwsyy+vF3STvhI2hq9Dwis54YgHiX/Rm7tcVXONHgXPd4Bpj3zr8XTt52la2y yRqqPIErDD4gtJtdKBkhAI21eRWXbQazk8AMbQidD7J4h6LDbP4GcX6nvSksmHJ+VUvK fgjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OLRQaklI; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=VG165vYu; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d132-20020a63368a000000b00542ad648fbasi16713942pga.188.2023.06.19.04.29.00; Mon, 19 Jun 2023 04:29:12 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OLRQaklI; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=VG165vYu; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231567AbjFSLGP (ORCPT + 99 others); Mon, 19 Jun 2023 07:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232661AbjFSLFn (ORCPT ); Mon, 19 Jun 2023 07:05:43 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38AA41BC0; Mon, 19 Jun 2023 04:04:54 -0700 (PDT) Date: Mon, 19 Jun 2023 11:04:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687172692; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VjEioIM+Zyvtme47DXVE1NS8L2pAnlF2IpyaCJ+fnlE=; b=OLRQaklI5B3yZ7n9dEL3VNvnmKhqbA5elFdCm6+XpBvb5f7afDVcEOqggxfy3KGz5eXXGm BCbT0JSawDcvET8IrKMxhzISboHtv2fO+l7jUmu6GVrLGeTnWNlYrIEZr6TenDoCbeqoEp /TVvS3QqEwDD+gAsMNl+XsSIsK0k4Ah8oTOJ4vMkvtdLGpGOGEwhd6vxAn08capdVafxcq 2G2KTiyFMUbIMhUqaTI3JbubrJ7pZphXE9KBtO0HkGzPv4/Ng4uQ9uWLUd4/sKwPoVGXVI XLsmw1Hy/NONKIrSzw5zwGauwZyKbxp9m/VHuDndT8Eu8UFnlVs7BRKpIPPMSA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687172692; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VjEioIM+Zyvtme47DXVE1NS8L2pAnlF2IpyaCJ+fnlE=; b=VG165vYuTSAmCt3nIJL4NUJXqU6i9p01Cn1jHjf70poLpec2LbHZ50YNu+NOIBgnsjITE4 OBPwFJ+IzsX/KmCg== From: "tip-bot2 for Vineeth Pillai" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/deadline: Update GRUB description in the documentation Cc: "Vineeth Pillai (Google)" , "Peter Zijlstra (Intel)" , Daniel Bristot de Oliveira , Juri Lelli , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230530135526.2385378-2-vineeth@bitbyteword.org> References: <20230530135526.2385378-2-vineeth@bitbyteword.org> MIME-Version: 1.0 Message-ID: <168717269226.404.4412261506840976360.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1767329166283360679?= X-GMAIL-MSGID: =?utf-8?q?1769130324706766194?= The following commit has been merged into the sched/core branch of tip: Commit-ID: e20f204c88d595c04fc9197794bb68c0fbabd902 Gitweb: https://git.kernel.org/tip/e20f204c88d595c04fc9197794bb68c0fbabd902 Author: Vineeth Pillai AuthorDate: Tue, 30 May 2023 09:55:26 -04:00 Committer: Peter Zijlstra CommitterDate: Fri, 16 Jun 2023 22:08:12 +02:00 sched/deadline: Update GRUB description in the documentation Update the details of GRUB to reflect the updated logic. Signed-off-by: Vineeth Pillai (Google) Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Daniel Bristot de Oliveira Acked-by: Juri Lelli Link: https://lore.kernel.org/r/20230530135526.2385378-2-vineeth@bitbyteword.org --- Documentation/scheduler/sched-deadline.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/scheduler/sched-deadline.rst b/Documentation/scheduler/sched-deadline.rst index 9d9be52..9fe4846 100644 --- a/Documentation/scheduler/sched-deadline.rst +++ b/Documentation/scheduler/sched-deadline.rst @@ -203,12 +203,15 @@ Deadline Task Scheduling - Total bandwidth (this_bw): this is the sum of all tasks "belonging" to the runqueue, including the tasks in Inactive state. + - Maximum usable bandwidth (max_bw): This is the maximum bandwidth usable by + deadline tasks and is currently set to the RT capacity. + The algorithm reclaims the bandwidth of the tasks in Inactive state. It does so by decrementing the runtime of the executing task Ti at a pace equal to - dq = -max{ Ui / Umax, (1 - Uinact - Uextra) } dt + dq = -(max{ Ui, (Umax - Uinact - Uextra) } / Umax) dt where: