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

Re: [RFC 02/10] is_system_domain: replace open-coded instances



On Fri, 2021-12-17 at 18:34 -0500, Daniel P. Smith wrote:
> From: Christopher Clark <christopher.w.clark@xxxxxxxxx>
> 
> There were several instances of open-coded domid range checking. This
> commit
> replaces those with the is_system_domain inline function.
> 
> Signed-off-by: Christopher Clark <christopher.w.clark@xxxxxxxxx>
> Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
> ---
>  xen/arch/x86/cpu/vpmu.c | 2 +-
>  xen/common/domctl.c     | 2 +-
>  xen/common/sched/core.c | 4 ++--
>  xen/include/xen/sched.h | 5 +++++
>
The */sched* bits:

Acked-by: Dario Faggioli <dfaggioli@xxxxxxxx>

But with a strong preference for renaming 
is_system_domain_id() to is_system_domid(), as Andrew suggested.

Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

Attachment: signature.asc
Description: This is a digitally signed message part


 


Rackspace

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