Re: [PATCH] cpuset: adjust the lock sequence when rebuilding the sched domains.

2019-09-05 Thread Chunyan Zhang
On Thu, 5 Sep 2019 at 16:43, Juri Lelli wrote: > > Hi, > > On 05/09/19 10:18, Chunyan Zhang wrote: > > From: Vincent Wang > > > > A deadlock issue is found when executing a cpu hotplug stress test on > > android phones with cpuset and scheduil enabled. > > > > When CPUx is plugged out, the

Re: [PATCH] cpuset: adjust the lock sequence when rebuilding the sched domains.

2019-09-05 Thread Juri Lelli
Hi, On 05/09/19 10:18, Chunyan Zhang wrote: > From: Vincent Wang > > A deadlock issue is found when executing a cpu hotplug stress test on > android phones with cpuset and scheduil enabled. > > When CPUx is plugged out, the hotplug thread that calls cpu_down() > will hold cpu_hotplug_lock and

[PATCH] cpuset: adjust the lock sequence when rebuilding the sched domains.

2019-09-04 Thread Chunyan Zhang
From: Vincent Wang A deadlock issue is found when executing a cpu hotplug stress test on android phones with cpuset and scheduil enabled. When CPUx is plugged out, the hotplug thread that calls cpu_down() will hold cpu_hotplug_lock and wait the thread cpuhp/x to finish hotplug. If the core is