On 03.02.2024 12:41, Carlo Nonato wrote: > On Thu, Feb 1, 2024 at 2:51 PM Jan Beulich <jbeul...@suse.com> wrote: >> On 29.01.2024 18:18, Carlo Nonato wrote: >>> --- a/xen/common/llc-coloring.c >>> +++ b/xen/common/llc-coloring.c >>> @@ -4,6 +4,7 @@ >>> * >>> * Copyright (C) 2022 Xilinx Inc. >>> */ >>> +#include <xen/guest_access.h> >>> #include <xen/keyhandler.h> >>> #include <xen/llc-coloring.h> >>> #include <xen/param.h> >>> @@ -229,6 +230,30 @@ int __init dom0_set_llc_colors(struct domain *d) >>> return domain_check_colors(d); >>> } >>> >>> +int domain_set_llc_colors_domctl(struct domain *d, >>> + const struct xen_domctl_set_llc_colors >>> *config) >> >> What purpose has the "domctl" in the function name? > > To signal that it's called from domctl. Do you suggest leaving it out?
Yes. Names want to be descriptive, but also not be overly long. Imo. Jan