Skip to contentSkip to conversation

UML - SIGIO locking comment

PATCH New Jeff Dike 1 participant 1 message Feb 7, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 2/7 UML - SIGIO locking comment

Comment the use of a mysterious-looking lock.

--

 arch/um/kernel/sigio.c |    1 +
 1 file changed, 1 insertion(+)
arch/um/kernel/sigio.c +1 -0
Index: linux-2.6.18-mm/arch/um/kernel/sigio.c
===================================================================
@@ -42,6 +42,7 @@ int write_sigio_irq(int fd)
 	return(0);
 }
 
+/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
 static DEFINE_SPINLOCK(sigio_spinlock);
 
 void sigio_lock(void)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel