lkml.org 
[lkml]   [2019]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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
>

\
 
 \ /
  Last update: 2019-04-05 14:06    [W:0.058 / U:0.120 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site