On Mon, Jan 22, 2018 at 09:10:18AM -0800, Tejun Heo wrote: > Hello, Peter, Ingo. > > I get the below lockdep warning if I try to write a config into cgroup > cpu.max file. It's warning about A-A deadlock, but it's obviously > spurious - the system doesn't lock up and the warning is about two > get_online_cpus() calls nesting.
Looks real, just not instantly fatal. It would generate an actual deadlock the moment there is a contending hotplug operation around though. I'll have a wee look.

