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

Re: [PATCH v2] vpci: introduce per-domain lock to protect vpci structure


  • To: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 15 Feb 2022 13:58:53 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sLA0klsYTsXa2vmsfpAANZAbvcx4dXmZfiwpT0pkI+w=; b=Q4TRbKmqCWAzO6xb4hCwWFqcOjZKMt1BmCTisfx+kTBv51a0tDgEvz4IF8cVk4Ro4IZGr/bCAntEqWIy2BOroGUbgOPjaxGAl4/7CflShs3OY4sRU9vxEco4jJrij+VVFf+kXYv6X+wC5E319JmVKfL0TO3ZBX1Kbvxdv07aBLt5uZpUvQfbrbfc9Wtact+OokrjB3/bjtfX92BHXfRX+eXCAv6K+YWQ/AAZKW9OlukVj05kHnnQFH1FykHJTWcKgwfHnoWUOql0z8K4Fcg7j/1lU5TQ3DKwxxcnMrOoxus0wNCACJB9wfvVGxLPXnhGH7TFzYG4lHF3Ly3PRzWabQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nal3DJCPPIEM+z2u/wcxlAyxcJ820JKeJxrx6wGixn5xMqYdSQbC0EWu8wXMAlBQwwn4yTKwnQOFIg+/DfGat7WsHG2YBHx76fpCWR1JZzk06VHgodMMGe/mlobjTZreTe+zV3Tvaro3HM6jCwuKy3rTeP7pFJqR2NqeAimKxy5pjyUW3ob3tUldrAxAmM/4kcUBrL2Md4UpCG+Apcltj8LXVDxbhXemQAbO6m2iqaNwWjhOeoUEPXGx9nlrHEBNXU4y0gC84YCGcmB+zIwke/Ezpu6xwVNvhE/KLjFVFs1h4KgHxco+k7SqDHs4rQBuIVxrLhyZyil17Pz0TvA7sQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "julien@xxxxxxx" <julien@xxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <Oleksandr_Tyshchenko@xxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Artem Mygaiev <Artem_Mygaiev@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Rahul Singh <rahul.singh@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 15 Feb 2022 12:59:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.02.2022 13:56, Oleksandr Andrushchenko wrote:
> On 15.02.22 14:49, Jan Beulich wrote:
>> On 15.02.2022 12:54, Oleksandr Andrushchenko wrote:
>>> On 15.02.22 13:50, Jan Beulich wrote:
>>>> On 15.02.2022 12:45, Oleksandr Andrushchenko wrote:
>>>>> I'm on your side, I just want to hear that we all agree pcidevs
>>>>> needs to be converted into rwlock according with the plan you
>>>>> suggested and at least now it seems to be an acceptable solution.
>>>> I'd like to express worries though about the conversion of this
>>>> recursive lock into an r/w one.
>>> Could you please elaborate more on this?
>> Not sure what to say beyond the obvious:
> I thought you have something specific in your mind that worries
> you and you can tell what it is. Thus the qustion

Well, the "specific" thing I had in mind was: You'll need to prove
correctness, and we'll need to understand the proof.

Jan




 


Rackspace

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