On Tue, 2019-05-28 at 12:33 +0200, Juergen Gross wrote:
> Add a scheduling granularity enum ("cpu", "core", "socket") for
> specification of the scheduling granularity. Initially it is set to
> "cpu", this can be modified by the new boot parameter (x86 only)
> "sched-gran".
>
> According to the
On 28/05/2019 13:51, Jan Beulich wrote:
On 28.05.19 at 12:33, wrote:
>> @@ -61,6 +62,23 @@ unsigned int sched_granularity = 1;
>> bool sched_disable_smt_switching;
>> cpumask_var_t sched_res_mask;
>>
>> +#ifdef CONFIG_X86
>> +static int __init sched_select_granularity(const char *str)
>>
>>> On 28.05.19 at 12:33, wrote:
> @@ -61,6 +62,23 @@ unsigned int sched_granularity = 1;
> bool sched_disable_smt_switching;
> cpumask_var_t sched_res_mask;
>
> +#ifdef CONFIG_X86
> +static int __init sched_select_granularity(const char *str)
> +{
> +if (strcmp("cpu", str) == 0)
> +
Add a scheduling granularity enum ("cpu", "core", "socket") for
specification of the scheduling granularity. Initially it is set to
"cpu", this can be modified by the new boot parameter (x86 only)
"sched-gran".
According to the selected granularity sched_granularity is set after
all cpus are