[lxc-devel] [PATCH] fix console deadlocks
Dwight Engen
dwight.engen at oracle.com
Fri Sep 20 20:12:33 UTC 2013
On Fri, 20 Sep 2013 14:48:40 -0500
Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> These might be a bit controversial. The process lock was held
> for some long periods of time for tweaking consoles. These
> can deadlock with some of lock holds I introduced recently. I
> would argue that if two threads are fighting over the console,
> you're gonna have trouble anyway, and the process locks here
> weren't saving us from anything. If we want to do a console
Are we sure we can walk/modify the lxc_ttys list lockless? I agree
threaded console use is "interesting", but I don't think we want list
corruption. Of course we don't want deadlocks either :)
More information about the lxc-devel
mailing list