- Add a missing unlock to cpuset_setaffinity(CPU_LEVEL_CPUSET, CPU_WHICH_PID)
Found by: gallatin
This commit is contained in:
parent
13c68a6bcd
commit
7b52c04658
@ -916,6 +916,7 @@ cpuset_setaffinity(struct thread *td, struct cpuset_setaffinity_args *uap)
|
||||
thread_lock(ttd);
|
||||
set = cpuset_ref(ttd->td_cpuset);
|
||||
thread_unlock(ttd);
|
||||
PROC_UNLOCK(p);
|
||||
break;
|
||||
case CPU_WHICH_CPUSET:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user