Messages in this thread | | | Date | Fri, 5 Apr 2019 14:04:34 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v7 1/7] sched/topology: Adding function partition_sched_domains_locked() |
| |
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 >
| |