Thread (49 messages) 49 messages, 5 authors, 2016-11-08

Re: [PATCH v3 07/15] lockdep: Implement crossrelease feature

From: Peter Zijlstra <peterz@infradead.org>
Date: 2016-09-13 12:10:07
Also in: lkml

On Tue, Sep 13, 2016 at 12:05:20PM +0200, Peter Zijlstra wrote:
On Tue, Sep 13, 2016 at 06:45:06PM +0900, Byungchul Park wrote:
quoted
Crossrelease feature calls a lock 'crosslock' if it is releasable
in any context. For crosslock, all locks having been held in the
release context of the crosslock, until eventually the crosslock
will be released, have dependency with the crosslock.

Using crossrelease feature, we can detect deadlock possibility even
for lock_page(), wait_for_complete() and so on.
Completely inadequate.

Please explain how cross-release does what it does. Talk about lock
graphs and such.

I do not have time to reverse engineer this stuff.
Blergh, I'll do it anyway.. hold on for an email asking specific
questions.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help