public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc fix - brlock was removed in the 3.13 kernel series
@ 2014-12-25 11:29 Nicholas Mc Guire
  2014-12-25 14:42 ` Rik van Riel
  0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Mc Guire @ 2014-12-25 11:29 UTC (permalink / raw)
  To: Al Viro
  Cc: John Stultz, Ingo Molnar, Stephen Boyd, Trond Myklebust,
	Rik van Riel, Mathieu Desnoyers, linux-kernel, Nicholas Mc Guire

The brlock was completely removed in the 3.13 kernel series.
see commit 0f6ed63b1707 ("no need to keep brlock macros anymore...")

It seems that documentation in seqlock.h was not updated to reflect
this. This patch drops the (hopefully last) false brlock reference.
All remaining references to brlock refer to byte-range locks (notably
in cifs) and not to "Big Reader Lock" and should be correct.

patch is against 3.19.0-rc1 linux-next

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
---
 include/linux/seqlock.h |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h
index f5df8f6..af7f5e9 100644
--- a/include/linux/seqlock.h
+++ b/include/linux/seqlock.h
@@ -13,9 +13,8 @@
  *    from going forward. Unlike the regular rwlock, the read lock here is
  *    exclusive so that only one locking reader can get it.
  *
- * This is not as cache friendly as brlock. Also, this may not work well
- * for data that contains pointers, because any writer could
- * invalidate a pointer that a reader was following.
+ * This may not work well for data that contains pointers, because any
+ * writer could invalidate a pointer that a reader was following.
  *
  * Expected non-blocking reader usage:
  * 	do {
--
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-25 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-25 11:29 [PATCH] doc fix - brlock was removed in the 3.13 kernel series Nicholas Mc Guire
2014-12-25 14:42 ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox