Files
linux/include/linux
Trond Myklebust 22fdcf02f6 lockdep: Revert lockdep check in raw_seqcount_begin()
This commit reverts the addition of lockdep checking to raw_seqcount_begin
for the following reasons:

 1) It violates the naming convention that raw_* functions should not
    do lockdep checks (a convention that is also followed by the other
    raw_*_seqcount_begin functions).

 2) raw_seqcount_begin does not spin, so it can only be part of an ABBA
    deadlock in very special circumstances (for instance if a lock
    is held across the entire raw_seqcount_begin()+read_seqcount_retry()
    loop while also being taken inside the write_seqcount protected area).

 3) It is causing false positives with some existing callers, and there
    is no non-lockdep alternative for those callers to use.

None of the three existing callers (__d_lookup_rcu, netdev_get_name, and
the NFS state code) appear to use the function in a manner that is ABBA
deadlock prone.

Fixes: 1ca7d67cf5: seqcount: Add lockdep functionality to seqcount/seqlock
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Waiman Long <Waiman.Long@hp.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/CAHQdGtRR6SvEhXiqWo24hoUh9AU9cL82Z8Z-d8-7u951F_d+5g@mail.gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-06-18 18:41:23 +02:00
..
2014-05-06 17:54:53 -04:00
2014-06-03 23:12:20 +02:00
2014-06-06 07:57:37 -06:00
2014-02-13 10:08:52 +05:30
2014-06-10 13:13:11 -06:00
2014-06-04 13:34:30 +09:00
2014-04-01 23:19:14 -04:00
2014-03-10 11:44:42 -04:00
2014-06-11 00:13:16 -07:00
2014-04-18 14:20:48 +02:00
2014-05-20 10:30:40 +09:00
2014-02-20 14:54:28 +01:00
2014-03-04 07:55:47 -08:00
2014-06-06 16:08:13 -07:00
2014-06-02 16:05:24 -07:00
2014-06-02 14:56:01 -07:00
2014-03-07 11:41:32 -05:00
2014-04-17 12:30:40 -07:00
2014-05-16 14:05:22 +02:00
2014-03-13 12:11:00 +10:30
2014-01-25 08:55:09 +01:00
2014-05-27 17:38:11 -07:00
2014-04-01 23:19:08 -04:00
2014-03-04 13:51:06 -05:00
2014-01-27 21:02:39 -08:00
2014-04-01 23:19:10 -04:00
2014-01-25 03:14:05 -05:00
2014-04-07 10:59:19 -07:00
2014-04-24 15:01:33 -06:00
2014-06-02 16:18:48 -06:00
2014-06-04 16:54:07 -07:00
2014-06-04 16:54:21 -07:00
2014-05-05 17:25:50 +10:00
2014-03-19 22:24:08 -04:00
2014-02-17 15:01:52 -08:00
2014-06-04 16:54:12 -07:00
2014-05-20 15:19:25 -05:00
2014-06-06 16:08:12 -07:00
2014-06-15 01:00:50 -07:00
2014-06-12 00:21:11 -04:00
2014-02-15 11:55:28 -08:00
2014-02-17 15:01:37 -08:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:53:56 -07:00
2014-05-14 09:46:32 -07:00
2014-05-06 17:39:45 -04:00
2014-05-30 11:35:54 -06:00
2014-06-04 16:53:57 -07:00
2014-04-07 16:35:53 -07:00
2014-06-04 16:53:57 -07:00
2014-01-30 16:56:55 -08:00