[SSI] openssi/kernel/net/unix af_unix.c,1.23,1.24
Roger Tsang <[email protected]> Sun, 08 Aug 2010 02:27:12 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/net/unix
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv3340/net/unix
Modified Files:
Tag: OPENSSI-FC
af_unix.c
Log Message:
IPC (UNIX domain sockets):
- Implement lockless unixnm_svr_table list traversal. Reduce connect(), sendmsg() contention with bind(), connect(), sendmsg().
- ssi_unix_deregister() do O(1) lookup. Remove release() contention with bind() and various paths with unix_table_lock.
- unixnm_put() do O(1) lookup. Reduce release() contention with bind(), connect(), sendmsg().
- Allocate unixnm_svr_entry and unixnm_cache_entry structures from the Linux slab cache.
cluster/ssi/ipc/unixnm.c | 350 ++++++++++++++++++-------------
include/cluster/ssi/unix.h | 27 --
include/net/af_unix.h | 5
net/unix/af_unix.c | 1
Index: af_unix.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/net/unix/af_unix.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- af_unix.c 27 Oct 2009 03:18:30 -0000 1.23
+++ af_unix.c 8 Aug 2010 02:27:10 -0000 1.24
@@ -649,6 +649,7 @@
u->dentry = NULL;
u->mnt = NULL;
#ifdef CONFIG_SSI
+ u->ssi_unixnm_entry = NULL;
init_rwsem(&u->lock);
#else
rwlock_init(&u->lock);
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev