Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 663CFC4742C for ; Tue, 10 Nov 2020 13:07:58 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D449820674 for ; Tue, 10 Nov 2020 13:07:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="EY/SbnNm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D449820674 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.23355.50029 (Exim 4.92) (envelope-from ) id 1kcTN6-0000Xw-2I; Tue, 10 Nov 2020 13:07:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 23355.50029; Tue, 10 Nov 2020 13:07:40 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kcTN5-0000Xp-VR; Tue, 10 Nov 2020 13:07:39 +0000 Received: by outflank-mailman (input) for mailman id 23355; Tue, 10 Nov 2020 13:07:38 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kcTN4-0000Xk-89 for xen-devel@lists.xenproject.org; Tue, 10 Nov 2020 13:07:38 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 2b906a52-2d4c-4448-a113-4dcf810a92a9; Tue, 10 Nov 2020 13:07:36 +0000 (UTC) Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kcTN4-0000Xk-89 for xen-devel@lists.xenproject.org; Tue, 10 Nov 2020 13:07:38 +0000 X-Inumbo-ID: 2b906a52-2d4c-4448-a113-4dcf810a92a9 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 2b906a52-2d4c-4448-a113-4dcf810a92a9; Tue, 10 Nov 2020 13:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1605013656; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=9QUsY448JzdfbL4MYcbZiBz1JoYM1idYzU6UardXy74=; b=EY/SbnNmQafDBKRmVDzYgbXebsZvAdSAiJD1JdX1kG+1AHmh66cHXuIX uMO9e08EwKKdcCgAVm4MasdxRnsAyQXjG1xfW3JqAzTDyxf9ulZAApp0K awBTu0lfYGREQrGL0Q81reCOMqFOthk0am98fG0GOVT5p9871vO5w6bX5 g=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: CMAC4MVosbgD0FXxof+7NZ1/M7N36WEXdpSRgL7Jj+Ynsk/wAWYVi6wPSLHCpnpzzWpJD4RPdD rPC/bbefh+wL0Lj/H7rHFLC2oMvim6LZxBd6/H3JI2nO2qwRp0c0jDQrwJLJWeoM4jfYV7WDqp G6+rLNnqa0p4teSrbFDUMyNQ1+bUiI5MDUr3/JL+fzFjaWnxxbN4TlBTzQjD1e38/0SXQtRiNk nlvWKwzakxgf7JiNa+c7Swwu1paIpbZReWw7cizhCnj4sy4MCeWMw0QsGFZfkXrt5xf0xgaDmq WyY= X-SBRS: None X-MesageID: 30846913 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.77,466,1596513600"; d="scan'208";a="30846913" Subject: Re: [PATCH] docs: fix documentation to notice credit2 is the default To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= CC: , George Dunlap , Ian Jackson , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu References: <20201110112118.99960-1-roger.pau@citrix.com> <20201110124900.2hjgn45i7ynf33p3@Air-de-Roger> From: Andrew Cooper Message-ID: <035d10c0-2774-8d1c-b55f-e075f04344e7@citrix.com> Date: Tue, 10 Nov 2020 13:07:26 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201110124900.2hjgn45i7ynf33p3@Air-de-Roger> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Language: en-GB X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To FTLPEX02CL04.citrite.net (10.13.108.177) On 10/11/2020 12:49, Roger Pau Monné wrote: > On Tue, Nov 10, 2020 at 12:31:14PM +0100, Jürgen Groß wrote: >> On 10.11.20 12:21, Roger Pau Monne wrote: >>> Fix the command line document to account for credit2 now being the >>> default scheduler. >>> >>> Fixes: dafd936dddbd ('Make credit2 the default scheduler') >>> Signed-off-by: Roger Pau Monné >>> --- >>> docs/misc/xen-command-line.pandoc | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/docs/misc/xen-command-line.pandoc b/docs/misc/xen-command-line.pandoc >>> index 4ae9391fcd..789aead148 100644 >>> --- a/docs/misc/xen-command-line.pandoc >>> +++ b/docs/misc/xen-command-line.pandoc >>> @@ -1876,7 +1876,7 @@ with read and write permissions. >>> ### sched >>> > `= credit | credit2 | arinc653 | rtds | null` >>> -> Default: `sched=credit` >>> +> Default: `sched=credit2` >>> Choose the default scheduler. >>> >> Tried that before: >> >> https://lists.xen.org/archives/html/xen-devel/2019-01/msg01097.html >> >> And Andrew didn't like it... > One way or another we need to get this fixed in the document. Listing > credit as the still the default is wrong. I agree that what is there is wrong, but so is saying credit2. This documentation is for users, because develops know exactly how they configured their schedulers, and won't actually need to refer to it. As a consequence, it depends heavily on what a specific distro/downstream chose, config-wise. > I think there are several places in xen-command-line.pandoc that just > contain the default values set in Kconfig, so IMO if we want to > change this it should be done wholesale rather than picking on every > default value change. Opinions? xen-command-line.pandoc wholly predates Kconfig.  We're only in this mess because previous patches haven't been appropriately reviewed. Lets fix it up to be correct, but lets not delay fixing this to look for potential other cases. ~Andrew