All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: Jan Beulich <jbeulich@suse.com>
Cc: Luca Fancellu <Luca.Fancellu@arm.com>,
	 Bertrand Marquis <Bertrand.Marquis@arm.com>,
	Wei Chen <Wei.Chen@arm.com>,
	 Stefano Stabellini <sstabellini@kernel.org>,
	Julien Grall <julien@xen.org>,
	 Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
	 Andrew Cooper <andrew.cooper3@citrix.com>,
	 George Dunlap <george.dunlap@citrix.com>, Wei Liu <wl@xen.org>,
	 Juergen Gross <jgross@suse.com>,
	Dario Faggioli <dfaggioli@suse.com>,
	 "xen-devel@lists.xenproject.org"
	<xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v6 4/6] xen/cpupool: Create different cpupools at boot time
Date: Fri, 8 Apr 2022 13:25:10 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2204081320210.3066615@ubuntu-linux-20-04-desktop> (raw)
In-Reply-To: <511b60be-c6c6-d13a-b9aa-40e67e5a1b1c@suse.com>

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@suse.com> 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@suse.com>
> > M:  Dario Faggioli <dfaggioli@suse.com>
> > 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.

I don't have an opinion if it should be called
xen/common/boot_cpupools.c or xen/common/boot-cpupools.c


  reply	other threads:[~2022-04-08 20:25 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08  8:45 [PATCH v6 0/6] Boot time cpupools Luca Fancellu
2022-04-08  8:45 ` [PATCH v6 1/6] tools/cpupools: Give a name to unnamed cpupools Luca Fancellu
2022-04-08  9:54   ` Anthony PERARD
2022-04-08  8:45 ` [PATCH v6 2/6] xen/sched: create public function for cpupools creation Luca Fancellu
2022-04-08  8:45 ` [PATCH v6 3/6] xen/sched: retrieve scheduler id by name Luca Fancellu
2022-04-08 10:29   ` Dario Faggioli
2022-04-08  8:45 ` [PATCH v6 4/6] xen/cpupool: Create different cpupools at boot time Luca Fancellu
2022-04-08  8:56   ` Jan Beulich
2022-04-08  9:06     ` Luca Fancellu
2022-04-08  9:01   ` Jan Beulich
2022-04-08 11:37     ` Luca Fancellu
2022-04-08 11:58       ` Jan Beulich
2022-04-08 20:25         ` Stefano Stabellini [this message]
2022-04-09  9:14           ` Juergen Gross
2022-04-11  6:15           ` Jan Beulich
2022-04-11  8:29             ` Luca Fancellu
2022-04-11 10:29               ` Dario Faggioli
2022-04-08 17:41   ` Julien Grall
2022-04-08 20:18   ` Stefano Stabellini
2022-04-11 10:58   ` Julien Grall
2022-04-11 11:30     ` Luca Fancellu
2022-04-11 11:42       ` Julien Grall
2022-04-08  8:45 ` [PATCH v6 5/6] arm/dom0less: assign dom0less guests to cpupools Luca Fancellu
2022-04-08  9:10   ` Jan Beulich
2022-04-08  9:39     ` Luca Fancellu
2022-04-08 10:24       ` Jan Beulich
2022-04-08 11:15         ` Luca Fancellu
2022-04-08 12:10           ` Jan Beulich
2022-04-11  8:54             ` Luca Fancellu
2022-04-11  9:08               ` Jan Beulich
2022-04-11 10:20                 ` Luca Fancellu
2022-04-11 10:23                   ` Jan Beulich
2022-04-08 10:37     ` Juergen Gross
2022-04-08  8:45 ` [PATCH v6 6/6] xen/cpupool: Allow cpupool0 to use different scheduler Luca Fancellu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2204081320210.3066615@ubuntu-linux-20-04-desktop \
    --to=sstabellini@kernel.org \
    --cc=Bertrand.Marquis@arm.com \
    --cc=Luca.Fancellu@arm.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=Wei.Chen@arm.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dfaggioli@suse.com \
    --cc=george.dunlap@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=julien@xen.org \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.