mtd/fs/jffs2 README.Locking,1.10,1.11

Artem Bityuckiy dedekind at infradead.org
Wed Nov 24 04:25:12 EST 2004


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv29361

Modified Files:
	README.Locking 
Log Message:
Obviously, semaphore is locked before spinlock, so, do not document this.


Index: README.Locking
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/README.Locking,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- README.Locking	24 Nov 2004 08:30:00 -0000	1.10
+++ README.Locking	24 Nov 2004 09:25:09 -0000	1.11
@@ -112,6 +112,12 @@
 will not be removed. So, it is allowed to access it without locking
 the inocache_lock spinlock. 
 
+Ordering constraints: 
+
+	c->erase_completion_lock and c->inocache_lock has special ordering:
+	1. c->erase_completion_lock (must be locked first)
+	2. c->inocache_lock
+
 
 	erase_free_sem
 	--------------
@@ -131,14 +137,6 @@
 function which manipulates obsolete nodes (which may be removed
 from the list and freed any time) and may sleep (since it reads flash).
 
-Ordering constraints: 
-
-	c->erase_completion_lock, c->erase_free_sem and c->inocache_lock
-	has special ordering:
-	1. c->erase_free_sem (must be locked first);
-	2. c->erase_completion_lock
-	3. c->inocache_lock
-
 
 	wbuf_sem
 	--------





More information about the linux-mtd-cvs mailing list