Re: [PATCH v3 04/16] lockdep: check that no locks held at freeze time

2013-05-07 Thread Pavel Machek
On Mon 2013-05-06 16:50:09, Colin Cross wrote: > From: Mandeep Singh Baines > > We shouldn't try_to_freeze if locks are held. Holding a lock can cause a > deadlock if the lock is later acquired in the suspend or hibernate path > (e.g. by dpm). Holding a lock can also cause a deadlock in the

Re: [PATCH v3 04/16] lockdep: check that no locks held at freeze time

2013-05-07 Thread Pavel Machek
On Mon 2013-05-06 16:50:09, Colin Cross wrote: From: Mandeep Singh Baines m...@chromium.org We shouldn't try_to_freeze if locks are held. Holding a lock can cause a deadlock if the lock is later acquired in the suspend or hibernate path (e.g. by dpm). Holding a lock can also cause a

[PATCH v3 04/16] lockdep: check that no locks held at freeze time

2013-05-06 Thread Colin Cross
From: Mandeep Singh Baines We shouldn't try_to_freeze if locks are held. Holding a lock can cause a deadlock if the lock is later acquired in the suspend or hibernate path (e.g. by dpm). Holding a lock can also cause a deadlock in the case of cgroup_freezer if a lock is held inside a frozen