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

Re: [PATCH v2 0/2] xen: credit2: fix boot hangs if dom0_nodes is used


  • To: Dario Faggioli <dfaggioli@xxxxxxxx>, Olaf Hering <ohering@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 3 Aug 2022 12:01:50 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dROUglfDBZORt+KogDq4qgwYbtxAQjuWmC0vUbuJtxc=; b=LNKxMnmLKFNLRmebtXE3KMPoN7LLdJXseBD5B5bCUEEwv5AITx1bXCIP3Z8PbNIgWUP7ZmnTAJeqZ2rCumMbWDPQOlAMX6WJtJcCZHCSEyzd4kgsJSVYb7i8rwHbnJbAs/RMJoUIw6sIf4UYwXJEmqW2mRf+/RQQSyNm9gUtmWT2UWQBh1qCb6yUk0I+Gi7RMjB6B+7Ij3NSsqZG2Hb4f3KvC8h+KWP+zjgpWOi1lLpuisUmuRBY15hOVpTpiPdLXTRnQUyFSTxYVMldp5I7pzxkmuHKyrZjGEOcHX3L3rVlwXyCgsIQKEBDA2vZFA3hML9y5CK6KKQcRJy25HrKuQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LY7aFBFOPTVB6gzxkPGsUnnkVei2Wqmyrlq2sQhLy0CVWg/cGAYg3t+nH+k7Wvzh+/eiGFVNpi7Xz1JqMsrkWA3PrADu0SjL2HKq7AeHJvSEu8SYlxjmuBSqHWKvx+kooHI29HwIJtS2lOO/gJvBa5SUpoDpNTaZkW303nO7SuwvgHkvzMlgTQnIU5e/ctx4issn/nUyapbLc4IDFKhkJ0uxrcv4Sxdl7yS2v0ZwoJ4k/798Cop20+ie+8Dae5NDEYs5zsGmiZeHt/Sflg2NchfGJHA+5Me5L7FAm/m2NV9eVlocKbJGKjG6QMefiykwK7ZisIdF6nmZZYzUW3rq/w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 03 Aug 2022 10:01:58 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 03.08.2022 11:58, Dario Faggioli wrote:
> Take 2 of this series. I think I've addressed Jan's comments. v1 was
> Message-id: <165944775952.3531.14547627248752689801.stgit@tumbleweed.Wayrath>
> 
> Currently, if the dom0_nodes parameter is used, to limit the hard or
> soft affinity of dom0's vCPUs, the boot hangs. This is because the vCPU
> affinity is set in two steps, and is only correct after we've done both.
> Credit2, however, manages to see and use the result of the first one and
> vCPUs are put on pCPUs where they can't run.
> 
> This has been reported here:
> https://bugzilla.suse.com/show_bug.cgi?id=1197081
> 
> And a fix has been discussed in the thread of this message:
> https://lore.kernel.org/xen-devel/e061a647cd77a36834e2085a96a07caa785c5066.camel@xxxxxxxx/
> 
> The solution adopted in this series is to change the vCPU affinity
> setting code in such a way that it happens alltogether and in one place
> (patch 2).
> 
> While there, make the dom0_vcpus_pin boot parameter more precise, by
> making sure that it is applied only to actual dom0's vCPUs, and not to
> the vCPUs of the hardware domain, which may or may not be dom0 itself
> (patch 2).
> 
> Regards
> ---
> Dario Faggioli (2):
>       xen: sched: dom0_vcpus_pin should only affect dom0

I'll throw in this one, but ...

>       xen/sched: setup dom0 vCPUs affinity only once

... I'd like to give this a little for a Tested-by: Olaf to possibly
arrive.

Jan



 


Rackspace

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