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

Re: [PATCH] x86/mem_sharing: Release domain if we are not able to enable memory sharing


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
  • Date: Sun, 26 Nov 2023 18:45:18 -0500
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=tklengyel.com; spf=pass smtp.mailfrom=tamas@xxxxxxxxxxxxx; dmarc=pass header.from=<tamas@xxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701042358; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=4IJwgedyDNLSUAna4chhs+5GUUpSKzzdKWokeejZMh0=; b=L3EwAvJAx+wNrIcN0StyAVM5W3OfUWGobCNlWr1bAPRxAYX5RbslHlkmrPx5mU20l8PTZmj/B2rycTnQWrpp0HWAxw+d6TtXS5iB0BLxXzR3SB6dqYwzHnUbOkfRucdvh0umYu6TBKP7xihzGSJdXM3v1JAmESfQigRW3xP2y5Q=
  • Arc-seal: i=1; a=rsa-sha256; t=1701042358; cv=none; d=zohomail.com; s=zohoarc; b=OcnDc+kPXb9DTvzRwFbKiqRBfQ4ycEzdZseVJvW/wUDNh4ENGZykAF6bVAPfZmi0dvfjeqSqGplI9XD+lqWyAoijxJK44N9ICwchYKV9rpFC/dBlqmchNyXYCjoD+YX1iZEjPtATY3VXe65VJEQ50nEFjeCIPvQkVLDib8DPW0s=
  • Cc: Frediano Ziglio <frediano.ziglio@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Sun, 26 Nov 2023 23:46:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Nov 22, 2023 at 2:42 PM Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
>
> On 22/11/2023 4:39 pm, Frediano Ziglio wrote:
> > In case it's not possible to enable memory sharing (mem_sharing_control
> > fails) we just return the error code without releasing the domain
> > acquired some lines above by rcu_lock_live_remote_domain_by_id.
>
> Fixes: 72f8d45d69b8 ("x86/mem_sharing: enable mem_sharing on first memop")
>
> > Signed-off-by: Frediano Ziglio <frediano.ziglio@xxxxxxxxx>
>
> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>



 


Rackspace

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