Re: [PATCH v7 1/7] sched/topology: Adding function partition_sched_domains_locked()
From: Peter Zijlstra
Date: Fri Apr 05 2019 - 08:05:15 EST
On Wed, Apr 03, 2019 at 10:46:44AM +0200, Juri Lelli wrote:
> +/*
> + * Call with hotplug lock held
Is that spelled like:
lockdep_assert_cpus_held();
?
> + */
> +void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[],
> + struct sched_domain_attr *dattr_new)
> +{
> + mutex_lock(&sched_domains_mutex);
> + partition_sched_domains_locked(ndoms_new, doms_new, dattr_new);
> mutex_unlock(&sched_domains_mutex);
> }
> --
> 2.17.2
>