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

Re: [PATCH v8 0/7] Boot time cpupools


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Fri, 6 May 2022 11:25:28 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=2jDlgMdK0c13yFMcIYkbpv9Ytu+wtPg74tMKt6JOgsA=; b=D9Zmqa07N5xK2SrgFx+5yU+3yHu+GPxz59lFwno3uoUSxjbKivtDe6qxNaARqhyDWPKYxrwjYya2ZnMLj2TvG/HuWVpAABEP9Cnbqat8nVhdRNtINeWmKeU/RcCS+fwnm8bsGJKd1baj3ruRFkizAKQO+UzuqhuIh1UisFEL6ZflM2VT0L1BfmCsX/44QI5eUbwmW7d7Y89Sr0PjsWdHxz/QaLHv9mQdcLidLm9pDmDs0yO1pl0XIE+vGiJZhNGCgy+hw6Hdk+dr5+4/m1Y16T6+cF8G4qH3ZfiJ/HIhnkEHagaG3xrBf/61kDcJzb26otYk9CJylzcVvVtzwiQZSg==
  • 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=2jDlgMdK0c13yFMcIYkbpv9Ytu+wtPg74tMKt6JOgsA=; b=QJ2gnGfSJXC+0x4QdkWFUjX4MYyzT16GPPPOCB2kfmZwLpZfrsX5iOSI0Pj41vKAQZebHrm6l9NYFPzzbghZ/JeMvvbm1IhFY32ZJb/Z7nzMCG5sUFE6uXR1DRhFIm5A8UAs+s5SzQWy1ZNbOkeUIIrWkKyhurljbZs0VgW6cYZmaGQUye7+lg3gJp+Q9zO7jZShPSnHkxcMRHzqvayXJ9a3HpeoJGbPA48ZABe3IoM9NrQJ/W05JhGAXmlAeUKd/KOvzmWcKsm/BFjgtQETdeh8R6y1mBD2lBPKR0KTbsFNnQIaDq+INxUL5MUtEdrh3ToUlaoql3UQNgVoiY3vMw==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=D5Qq/iqscHstFEly7eQkcPDv8y37VtMvkZdC7JfF94ixLyLPJdsmJeBrrUGRgSYKuY0b+R3d27RT1dj/ANBDKGwtYgiwesg5Z/4XI8Gnn2B11+rA5QCIO+TACMc8Dp1UjK+BAgQOgLbeXLlvMgylAsPIYwhu1xUCq8DW5qI+YMl27eAEwLhZ/KcG+q4txFnbIXLUXcSapG/phy3bNbRhq/Ky0pft4W20JwSs1EzcbQrr0iGtTLyg13fUzd7YALb8M7qcNLDJUwgfKdMKYIMcivPhsYLlUzuhz+QCPYhSfMAkUUvTPCI5+iLI2BhJa/sywE+WetJyds8RAnpXLOjO6g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MzubadFKfvxMLFYEG6lGWpbNDL/Ezk5600FosEjzNyuMLI79J9djfgfU/+JVEOhSNmlXHs2y8sACpSvYuMr9DnlHq22HoMDQT2NcVD7ApoUgu6P0mNOIr/XsQbamSdwubb7Vgg8F+WxkZcenIkuPHfLXUIVCZ+6xbhSLSM2HpLNA4jggnfn4lHpnngyDzYpAV4ytcd7Wwv7+/qMFIkukQk8Qep435U/FTu/V9GoEp4EFbi4j7ss8pVLEJFBT1sWbS8jKUeIWdi/5VqNkTK8aIkSYn+Ilm2PhGnJQhSLnXlcIVBpUaqSFI7yp2QNV/YPAiFmnEJW7vatP36p0JMjTrA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>
  • Delivery-date: Fri, 06 May 2022 11:25:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYVVhdzvmSbSkA9kKhcVjYQ/ksyq0RzUeA
  • Thread-topic: [PATCH v8 0/7] Boot time cpupools

> The example DT is instructing Xen to have two cpu pools, one having two 
> phisical
> cpus and the one having 4 phisical cpus, the last mentioned cpu pool uses the
> null scheduler and from the /chosen node we can see that a dom0less guest will
> be started on that cpu pool.
> 
> In this particular case Xen must boot with different type of cpus, so the
> boot argument hmp_unsafe must be enabled.
> 
> Luca Fancellu (7):
>  tools/cpupools: Give a name to unnamed cpupools
>  xen/sched: create public function for cpupools creation
>  xen/sched: retrieve scheduler id by name
>  xen/cpupool: Create different cpupools at boot time
>  xen/cpupool: Don't allow removing cpu0 from cpupool0
>  arm/dom0less: assign dom0less guests to cpupools
>  xen/cpupool: Allow cpupool0 to use different scheduler
> 
> MAINTAINERS                            |   2 +-
> docs/misc/arm/device-tree/booting.txt  |   5 +
> docs/misc/arm/device-tree/cpupools.txt | 140 +++++++++++++++
> tools/helpers/xen-init-dom0.c          |  37 +++-
> tools/libs/light/libxl_utils.c         |   3 +-
> xen/arch/arm/domain_build.c            |  19 +-
> xen/arch/arm/include/asm/smp.h         |   3 +
> xen/common/domain.c                    |   2 +-
> xen/common/sched/Kconfig               |   7 +
> xen/common/sched/Makefile              |   1 +
> xen/common/sched/boot-cpupool.c        | 234 +++++++++++++++++++++++++
> xen/common/sched/core.c                |  40 +++--
> xen/common/sched/cpupool.c             |  43 ++++-
> xen/include/public/domctl.h            |   5 +-
> xen/include/xen/sched.h                |  53 ++++++
> 15 files changed, 563 insertions(+), 31 deletions(-)
> create mode 100644 docs/misc/arm/device-tree/cpupools.txt
> create mode 100644 xen/common/sched/boot-cpupool.c
> 
> -- 
> 2.17.1
> 

Ping?

The v8 seems to be reviewed for all patch

https://patchwork.kernel.org/project/xen-devel/list/?series=634064

Any other thought about that?

Cheers,
Luca




 


Rackspace

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