[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] CHANGELOG.md: Make PV shim smaller by factoring out HVM-specific shadow code


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxx>
  • Date: Wed, 31 Mar 2021 14:30:32 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=29MeVBnAQCnCL295KsDDathRGJRlDhNRAbNep5HZn1Q=; b=gW6zSJWHd3Ur4iUsMzSrFEggIm6FdNKKDFJCPVN/vBvpnzAfChImSq6Xzn8cfoRU3J88idW4yrAhnxKLWZEQFmpgiKDBQ0koa84Tmp1RDNXywXdOZNSw0X/oRsxCwQOMzIiiHuF0HAvekxa5VNgmu6dvTzpj7f3t2couTP2HpSMV7W/DbEbCBI3lHCFW+1ies82XYKMLpuPX0g4uHW1T4nz8PsUhZkW2aWn9P9G6jjjuR9Lf9hiV3H7kwlJ+osCMXCqaekEO+3d7Cg9YORWU7oheMKBAsKEBUs9PL9typOo9iSCAOTlB3GTlBGDM3Ulvt0Xe7c2RvUKSq8DLCDv/kA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IZ2ZVcmzwtVdhSN2Fh6G9t5pJP2Ghl27OI/ziwciDFn5e3xtMgRz224dMsQNAyNbd4TLO22HYJ+64EraFIP1MNG8mjZ2W4OsLSv+j5eHlV/JN62lL5c3ngltL3JrSKzK1hEpwaKVpeBPC0JKmXXFm1tPgQtrxsr5nXbrslZOgLtnIkmKYLFtmaD+upI1zXEz/bIFtLqniCtVPDrSmZRNyc4FeGiNMVZ50DXf+Nyd7edvrycdfotqkuXZycBqXIwRUiJUT7ft232eJVzSDXMwU0gQH06qb5uSbucFPPwezIPFU5QSi44mifQkUnwI9lCX59I3TRHrWBY+vDnQyddtWw==
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Paul Durrant" <paul.durrant@xxxxxxxxxx>
  • Delivery-date: Wed, 31 Mar 2021 14:30:44 +0000
  • Ironport-hdrordr: A9a23:oN1SxqxFQA7rBlPLO/8vKrPxpe4kLtp033Aq2lEZdDV8Sebdv9 yynfgdyB//gCsQXnZlotybJKycWxrnmKJdybI6eZOvRhPvtmftFoFt6oP+3ybtcheVysd07o 0lSaR3DbTLZmRSpczx7BCkV/Mpx9ea+K6l7N2utEtFZysCUdAC0y5SDAGHHkpqACxPApQkHJ SRj/A33QaIU3IRc8i9Gz05T/HOzue73q7OTDwnI1oc6AeIhS6187KSKXSl9zoXTj8n+8ZEzU HriAr8j5/Dj9iazVvm23bX/9BqnrLau6N+LeitruRQFTn2kAavY+1aKvC/lRQ4uvum5lpvsP SkmWZHA+1J53ncfn64rHLWsmGOvgoG0HPsxUSVhnHuu6XCNUsHIvBcjoFUeAax0TtDgPhA0b lG12/cl51bAQKoplWY2/H0VgpnnkfxnHw6keR7tQ07baIibtZqzbA3zQdwKtMtDSj64IcoHK 1FF8fH/stbdluccjTwonRv6MbEZAV9Ij62Bmw5/uCF2Tlfm350i2ECwtYEo3sG/JUhD7FZ+u X/NLhynr0mdL5ZUYtNQMM6BeenAG3ERhzBdEiIJ078Ka0BM3XR77n6/asy/+PvXJAT1pM9lN DgXTpjxC8PUnOrLffL8IxA8xjLTmn4dy/q0Nti659wvaC5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ib/1uBUKlpqZQRwWYtYrAB0X 1nIUtbTFRnS+froMnqRd5wY+j7RaFCqMbqWExcyQK6LlqNLe804w75tHPhZfBqrQdiK8+9a/0q MIbu6l+F/m6PRGNY0BwJzQ1+80OPqrWecdDFFkF5eTs+BQ02jwVMo3Q25e0/psphgbMb18TTfM l97EAAk3NLqOFMjj1RtRrBLu86n2gtnHlbuKQzI2fOnBy0nd3K9uZTmq5AwIvm/GgpT+wwARua Pk8=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHXINLTS489UfL61EKD4pjlwXnfbqqUSZCAgAbMCwCAABhsgIAAEbyAgAEUfwCAAdQ2AIAAAIoAgAABtoCAAAGygIAABr6A
  • Thread-topic: [PATCH] CHANGELOG.md: Make PV shim smaller by factoring out HVM-specific shadow code


> On Mar 31, 2021, at 3:06 PM, Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> On 31.03.2021 16:00, George Dunlap wrote:
>> 
>> 
>>> On Mar 31, 2021, at 2:54 PM, Jan Beulich <jbeulich@xxxxxxxx> 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.

OK, so how about:

- Factored out HVM-specific shadow code, improving code clarity and reducing 
the size of PV-only hypervisor builds

 -George

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.