On Wed, 13 Jun 2018 14:17:10 +0200 Ju > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c > index b42037e6e81d..d26fd4795aa3 100644 > --- a/kernel/cgroup/cpuset.c > +++ b/kernel/cgroup/cpuset.c > @@ -2409,6 +2409,22 @@ void __init cpuset_init_smp(void) > BUG_ON(!cpuset_migrate_mm_wq); > } > > +/** > + * cpuset_lock - Grab the cpuset_mutex from another subsysytem > + */ > +int cpuset_lock(void) Shouldn't this be called "cpuset_trylock()" otherwise one may think that it will always return with the cpuset_mutex locked. -- Steve > +{ > + return mutex_trylock(&cpuset_mutex); > +} > + > +/** > + * cpuset_unlock - Release the cpuset_mutex from another subsysytem > + */ -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html