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

Re: [PATCH] x86/pv: Drop assertions from svm_load_segs()


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Tue, 8 Sep 2020 11:58:45 +0100
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Tue, 08 Sep 2020 10:58:58 +0000
  • Ironport-sdr: 4lbOz95U6Vrquf7pUTJ9pZ1eWsZzs1eHNYjBHuh9GI2nDQaIhE1XJGgg6xV1DAmr40Xnfdlyfr 5OnDswIQyVljYNr7gKS4SZQQESVhzWvTicVrqVxtI8Gkcg+E2bIi2Quad9nYKMg7rSaKPL5umZ KjSOuEikXGT75F4/m8y++DgOb5aeK9LOBl9LSLSOWFRiLNOh3+2ahL2XrlXsBrgtaGRDOI5I7k zRgPhrdd6sG1kZ97BlSI60n3ophRxRsZ9lLgwb2EPUua0+8JTI8/YViwY02ievu9BvfdPenepY BDA=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 08/09/2020 11:36, Jan Beulich wrote:
> On 08.09.2020 12:08, Andrew Cooper wrote:
>> OSSTest has shown an assertion failure:
>> http://logs.test-lab.xenproject.org/osstest/logs/153906/test-xtf-amd64-amd64-1/serial-rimava1.log
>>
>> These assertions were never appropriate, as they rule out legal (and, as it
>> turns out, sensible perf-wise) inputs based on an expectation of how the sole
>> caller would behave.
> I wouldn't put it this way - not coming here was a requirement in
> the old logic, when we expected non-null selectors to remain in
> sync with the GDT/LDT. But yes, they needs to be dropped now.

Urgh.  That is a can of worms, as this path doesn't preserve the GDT
attributes/limits.

>
>> Fixes: ad0fd291c5 ("x86/pv: Rewrite segment context switching from scratch")
> With your S-o-b added
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Oops.  Thanks, but no - I retract this patch.  Will submit a different
one shortly.

~Andrew



 


Rackspace

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