On 07/07/2014 08:50 AM, Peter Zijlstra wrote:
On Thu, Jun 26, 2014 at 01:39:09PM -0400, Waiman Long wrote:
v4->v5:
  - Add patch 2 to update the locking selftest code to handle recursive
    read_lock correctly. Patch 1 has no change.
I removed all CONFIG_QUEUE_RWLOCK dependencies and made lockdep
unconditionally assume the stronger constraints.

Since we want all code 'clean' for the strongest possible
implementation, everybody should run with those semantics, it doesn't
make sense to have that configurable.

Eg. someone on (say ARM, which doesn't -- yet -- have QUEUE_RWLOCK)
could unwittingly introduce faulty code.

I think this is a better way to go. I didn't take this way in my patch for fear that I may be pushing too much.

-Longman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to