Re: Lockdep incorrectly complaining about circular dependencies involving read-locks

2016-01-26 Thread Felix Kuehling
On 16-01-21 05:20 PM, Felix Kuehling wrote: > I'm running into circular lock dependencies reported by lockdep that > involve read-locks and should not be flagged as deadlocks at all. I > wrote a very simple test function that demonstrates the problem: [snip] > It sets up a circular lock dependency

Lockdep incorrectly complaining about circular dependencies involving read-locks

2016-01-21 Thread Felix Kuehling
I'm running into circular lock dependencies reported by lockdep that involve read-locks and should not be flagged as deadlocks at all. I wrote a very simple test function that demonstrates the problem: > static void test_lockdep(void) > { > struct mutex fktest_m; > struct rw_semaphore