[PATCH 0/2 v2] dcache: get/release read lock in read_seqbegin_or_lock() & friend

From: Waiman Long
Date: Thu Sep 12 2013 - 10:56:12 EST


Change log
----------
v1->v2:
- Rename the new seqlock primitives to read_seqexcl_lock* and
read_seqexcl_unlock*.
- Clarify in the commit log and comments about the exclusive nature
of the read lock.

Waiman Long (2):
seqlock: Add a new locking reader type
dcache: get/release read lock in read_seqbegin_or_lock() & friend

fs/dcache.c | 31 +++++++++++----------
include/linux/seqlock.h | 68 +++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 79 insertions(+), 20 deletions(-)

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