From: Jan Beulich <jbeulich@suse.com>
To: Hirokazu Takahashi <taka@valinux.co.jp>
Cc: "Mykyta_Poturai@epam.com" <Mykyta_Poturai@epam.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Julien Grall" <julien@xen.org>,
"Bertrand Marquis" <bertrand.marquis@arm.com>,
"Michal Orzel" <michal.orzel@amd.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Dario Faggioli" <dfaggioli@suse.com>,
"Juergen Gross" <jgross@suse.com>,
"George Dunlap" <gwd@xenproject.org>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH 2/3] xen/sched: Link CPU topology to scheduler
Date: Mon, 15 Jun 2026 08:57:03 +0200 [thread overview]
Message-ID: <24399462-e83c-40fa-ae90-e66b09b1a461@suse.com> (raw)
In-Reply-To: <OS9P286MB72224A75554691CDC5F82D0E82182@OS9P286MB7222.JPNP286.PROD.OUTLOOK.COM>
On 12.06.2026 21:53, Hirokazu Takahashi wrote:
>> On 10.06.2026 13:13, Hirokazu Takahashi wrote:
>>> @@ -19,11 +23,17 @@ extern struct cpu_topology *cpu_topology;
>>> void map_cpuid_to_node(unsigned int cpuid, struct dt_device_node
>> *cpu_node);
>>> void dt_init_cpu_topology(void);
>>>
>>> +#define cpu_to_core(_cpu) (cpu_topology[_cpu].phys_core_id)
>>> +#define cpu_to_socket(_cpu) (cpu_topology[_cpu].phys_socket_id)
>>
>> Please can you avoid introducing new name space violations (identifiers
>> with leading underscores should name file scope entities); also again
>> below.
>
> Ok, I will remove the leading underscores from the macro, which were
> originally defined in xen/arch/arm/include/asm/processor.h.
> Is it okay to leave the macro definitions in x86's
> `xen/arch/x86/include/asm/processor.h` untouched?
If you have no other need to touch them - of course.
Jan
next prev parent reply other threads:[~2026-06-15 6:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-10 11:13 [PATCH 0/3] xen/arm: Device Tree based CPU topology support Hirokazu Takahashi
2026-06-10 11:13 ` [PATCH 1/3] xen/device-tree: Parse 'cpu-map' node for CPU topology exploration Hirokazu Takahashi
2026-06-11 14:06 ` Jan Beulich
2026-06-12 2:29 ` Hirokazu Takahashi
2026-06-12 6:49 ` Jan Beulich
2026-06-11 22:35 ` Julien Grall
2026-06-14 0:00 ` Hirokazu Takahashi
2026-06-10 11:13 ` [PATCH 2/3] xen/sched: Link CPU topology to scheduler Hirokazu Takahashi
2026-06-11 14:12 ` Jan Beulich
2026-06-12 19:53 ` Hirokazu Takahashi
2026-06-15 6:57 ` Jan Beulich [this message]
2026-06-11 22:23 ` Julien Grall
2026-06-10 11:13 ` [PATCH 3/3] xen/sched: Make cpu_nr_siblings() architecture-specific Hirokazu Takahashi
2026-06-11 14:14 ` Jan Beulich
2026-06-12 21:06 ` Hirokazu Takahashi
2026-06-11 22:37 ` Andrew Cooper
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=24399462-e83c-40fa-ae90-e66b09b1a461@suse.com \
--to=jbeulich@suse.com \
--cc=Mykyta_Poturai@epam.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=bertrand.marquis@arm.com \
--cc=dfaggioli@suse.com \
--cc=gwd@xenproject.org \
--cc=jgross@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=taka@valinux.co.jp \
--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.