|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] sched: print information about scheduling granularity
On 20.04.2020 15:06, Sergey Dyasli wrote:
> --- a/xen/common/sched/cpupool.c
> +++ b/xen/common/sched/cpupool.c
> @@ -40,6 +40,30 @@ static DEFINE_SPINLOCK(cpupool_lock);
> static enum sched_gran __read_mostly opt_sched_granularity = SCHED_GRAN_cpu;
> static unsigned int __read_mostly sched_granularity = 1;
>
> +static void sched_gran_print(enum sched_gran mode, unsigned int gran)
> +{
> + char *str = "";
const please (could easily be added while committing of course)
Jan
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |