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

Re: [PATCH v6 4/6] xen/cpupool: Create different cpupools at boot time


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Mon, 11 Apr 2022 08:29:59 +0000
  • Accept-language: en-GB, en-US
  • 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=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=sYzB2WdYhMpuT0nWJ3euzQTltacZT0SP8w2JBh/xavI=; b=brmBajrNYJNjaGLxhPiZxqJxjN5oObajvIkp6KD+rwpa/1NCYzCiSWl12jhjhz1mRdB93twS9c2VFhLvP5TQ9pMeA6U40fzjiURhaEBqLvlgx4t+Qdd3QfHybLvd0ifjXVeyo8hH1AoFKp/J3ZTolrT7qI1CjefOLLElvBoUrG7uTVpJMKQAZ/RgZwZUEJsmaApTL/C/mkiUTORPA9lQ1ZyO5OMIGZBM95bM3NpxxlWu0hc6BOxjD5AlV1TVAERmxrK4psRHjRu8EstXSGaBhHQEAiw+zFC+ciroKmhBw5JyjDifB/0Z9VhVSJ7I0M1O+aBCyP676VGBN9B206Z+GA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lOJvrJ7JbuPZYQN0qJLHUWOjZZ64pYmcXqlVONFiaJZT56TOhM1EMELsgMVxATMUDUQgHu9MGnLdiIWNgp53vwxEzQKovds7NTjd6UVWdjeqwfZGPS8GLXvyevqm28Edun1DobVoqvQBy52ykNcMzqTx8tikSMRDQXdzshQHL9Y0HwRdHNI9zOzcwg8IyIXW48IXiodiLCr0MRHqI9O1Nm+Fe+q7lzm5dB13QpeWWsfnIoMN13Uo/G4FykVVpdAi6cNqRNlucA5QHDsVgGWEWW3nVSDzGyOoAl2QbUWZUDA4LXok1+6HWLK+AcOBeCeWOBV2CD8W2dMpM6PjD+cXVw==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 11 Apr 2022 08:30:41 +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: AQHYSyUg2T6WkJDiXECW3myZV3L//qzluEIAgAArbICAAAYSgIAAjXIAgAPJp4CAACWEAA==
  • Thread-topic: [PATCH v6 4/6] xen/cpupool: Create different cpupools at boot time


> On 11 Apr 2022, at 07:15, Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> On 08.04.2022 22:25, Stefano Stabellini wrote:
>> On Fri, 8 Apr 2022, Jan Beulich wrote:
>>> On 08.04.2022 13:37, Luca Fancellu wrote:
>>>> 
>>>> 
>>>>> On 8 Apr 2022, at 10:01, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>>>>> 
>>>>> On 08.04.2022 10:45, Luca Fancellu wrote:
>>>>>> ---
>>>>>> docs/misc/arm/device-tree/cpupools.txt | 140 +++++++++++++++++
>>>>>> xen/arch/arm/include/asm/smp.h | 3 +
>>>>>> xen/common/Kconfig | 7 +
>>>>>> xen/common/Makefile | 1 +
>>>>>> xen/common/boot_cpupools.c | 207 +++++++++++++++++++++++++
>>>>>> xen/common/sched/cpupool.c | 12 +-
>>>>>> xen/include/xen/sched.h | 14 ++
>>>>>> 7 files changed, 383 insertions(+), 1 deletion(-)
>>>>>> create mode 100644 docs/misc/arm/device-tree/cpupools.txt
>>>>>> create mode 100644 xen/common/boot_cpupools.c
>>>>> 
>>>>> Under whose maintainership is the new file to fall? Without an
>>>>> addition to ./MAINTAINERS and without the file being placed in
>>>>> xen/common/sched/, it'll be REST maintainers, which I think would
>>>>> better be avoided. Would it perhaps make sense to have this as
>>>>> xen/common/sched/boot.c, allowing other boot-only code to
>>>>> potentially be moved there over time? This would then also avoid
>>>>> me asking about the underscore in the file name: Underscores are
>>>>> a somewhat artificial thing for use in places where dashes can't
>>>>> be used. Yet in the file system dashes are fine, and dashes are
>>>>> (slightly) easier to type.
>>>>> 
>>>> 
>>>> Ok I can put the new file under xen/common/sched/ as boot.c, should this 
>>>> new
>>>> file be under this section?
>>>> 
>>>> CPU POOLS
>>>> M: Juergen Gross <jgross@xxxxxxxx>
>>>> M: Dario Faggioli <dfaggioli@xxxxxxxx>
>>>> S: Supported
>>>> F: xen/common/sched/cpupool.c
>>>> + F: xen/common/sched/boot.c
>>> 
>>> If it's to hold general scheduler code (which this shorter name would
>>> suggest), it shouldn't need any change to ./MAINTAINERS as the
>>> scheduler section would already cover it then. If it was to remain
>>> CPU-pools-specific, then you'd need to stick to the longer name and
>>> put it in the section you have reproduced above.
>> 
>> In my opinion it is best if the maintenance of boot_cpupools.c falls
>> under "CPU POOLS". Luca, you can retain my reviewed-by when you add
>> the change to MAINTAINERS or rename the file.
> 
> Yet even then, with cpupools.c living in sched/, ...
> 
>> I don't have an opinion if it should be called
>> xen/common/boot_cpupools.c or xen/common/boot-cpupools.c
>> 
> 
> ... this one may want living there are well.

Yes I agree with you all, I will rename it to xen/common/sched/boot-cpupool.c
and add it in MAINTAINERS.

> 
> Jan




 


Rackspace

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