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=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 5266CC433B4 for ; Wed, 31 Mar 2021 14:06:37 +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 1620B60FE6 for ; Wed, 31 Mar 2021 14:06:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1620B60FE6 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.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.103980.198361 (Exim 4.92) (envelope-from ) id 1lRbUI-0000eX-Qc; Wed, 31 Mar 2021 14:06:26 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 103980.198361; Wed, 31 Mar 2021 14:06:26 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lRbUI-0000eQ-NU; Wed, 31 Mar 2021 14:06:26 +0000 Received: by outflank-mailman (input) for mailman id 103980; Wed, 31 Mar 2021 14:06:25 +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 1lRbUH-0000eJ-By for xen-devel@lists.xenproject.org; Wed, 31 Mar 2021 14:06:25 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 8735c65c-c5da-490a-aae1-f8c2ca817dc0; Wed, 31 Mar 2021 14:06:24 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id B6AB2B270; Wed, 31 Mar 2021 14:06:23 +0000 (UTC) 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" X-Inumbo-ID: 8735c65c-c5da-490a-aae1-f8c2ca817dc0 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1617199583; h=from:from:reply-to: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=+QpEtAifekDShYETGEvojnZoC/tZl+b+wwBjFr0RoNw=; b=EDfplck+fgQJmzNPptoZqa+FshwE1arGKAe9w9nw2ALhGJWGshRdMVHEgvypjHnbqPIRib kseY/goHW+KWfF8kRwQlAd1X+ORqoOLG7YtQL+jmRAmqIGBAFIiy7Ew5AG6xgXOK7zGS2T ef28Yn4T2oz9dGQLN1jHMeQBD52nwoU= Subject: Re: [PATCH] CHANGELOG.md: Make PV shim smaller by factoring out HVM-specific shadow code To: George Dunlap Cc: Ian Jackson , Andrew Cooper , Roger Pau Monne , "xen-devel@lists.xenproject.org" , Paul Durrant References: <20210324172608.302316-1-george.dunlap@citrix.com> <23461afc-c0e0-eb33-9ed3-52f050b6aef0@suse.com> <27ecde00-f0aa-b701-6928-5480ed805064@citrix.com> <2A1FCD39-D0C0-468D-A977-2FBF7126FDE6@citrix.com> <24676.32400.548088.26254@mariner.uk.xensource.com> <1a87cfa9-d6c0-5da5-ea07-eae47186da9a@suse.com> <1832DBFA-B215-4CEA-9C8A-F53F2A5321E9@citrix.com> From: Jan Beulich Message-ID: <9b899068-e0df-3f5f-5537-b9ff81bfa279@suse.com> Date: Wed, 31 Mar 2021 16:06:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <1832DBFA-B215-4CEA-9C8A-F53F2A5321E9@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 31.03.2021 16:00, George Dunlap wrote: > > >> On Mar 31, 2021, at 2:54 PM, Jan Beulich wrote: >> >> On 31.03.2021 15:52, Ian Jackson wrote: >>> George Dunlap writes ("Re: [PATCH] CHANGELOG.md: Make PV shim smaller by factoring out HVM-specific shadow code"): >>>> I don’t understand why the two of you are downplaying your work so much. Yes, these are all only incremental improvements; but they are improvements; and the cumulative effect of loads of incremental improvements can be significant. Communicating to people just what the nature of all these incremental improvements are is important. >>> >>> I agree with George here. >>> >>> There ae a number of reasons why behind-the-scenes work with little >>> (intentional) user-visible impact are useful to note in the >>> CHANGELOG.md. With my Release Manager hat on I would like to see, for >>> example, >>> >>>>> + - Factored out HVM-specific shadow code, allowing PV shim to be slimmer >>> >>> something about htis work in the CHANGELOG.md. >>> >>> IDK precisely, and I don't think George does either, what a good and >>> accurate statement is. But I guess we will go with the text above if >>> we don't get something better. >> >> At the very least the part after the comma ought to be deleted. As >> said in an earlier reply, at least the shim default config disables >> shadow code anyway, so the factoring out has no effect there. > > Thanks. So when you wrote the series, what was your motivation? Did you have a particular technical outcome in mind? Or did it just bother you that there was HVM-only code in a PV-only build? :-) What bothers me are more the implications - it being rather hard in many cases, and in particular in shadow code, to be able to tell what paths are involved in the handling of what kind(s) of guests. This has made more time consuming investigation of (suspected) misbehavior in more than one case. Jan