[SSI] openssi/kernel/include/linux config.h,1.37,1.38
Roger Tsang <[email protected]> Fri, 05 Mar 2010 06:25:38 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/include/linux
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8504/kernel/include/linux
Modified Files:
Tag: OPENSSI-FC
config.h
Log Message:
IPC:
- Fix uninitialized iodb_timestamp.
- Fix ssi_growary() can cause array bounds violation when value of iodb_size is
increased beyond the static size of object table.
- Fix ipcname_failover_data() dereferencing invalid ipc_obj structure; objp
pointer is uninitialized.
- Fix shmem_svr_lookup() ignored cli_ipcname_getid() error and looked up id 0.
- Fix shmem_svr_lookup() always creates obj with id 0.
IPC (#ifdef SSI_IPC_OBJ_DB_LOCKLESS):
- Remove NSC_IPC_RD/WRLOCK() global object database mutex.
- Implement reference counting for ipc_obj structure.
- Implement lockless iodb_active[] traversal.
- Fix ipcname_failover_data() iodb_seq race with another objsvr_new() thread.
- Remove redundant objsvr_find_key() lookup's in ipcname_getid() path when
objsvr_new() raced with another.
cluster/ssi/cfs/cfs_ipcshm.c | 15 -
cluster/ssi/ipc/ipc.h | 26 +
cluster/ssi/ipc/namesvr_clnt.c | 6
cluster/ssi/ipc/namesvr_func.c | 463 ++++++++++++++++++++++++++++++++-
include/linux/config.h | 5
5 files changed, 495 insertions(+), 20 deletions(-)
Index: config.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/linux/config.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- config.h 5 Mar 2010 06:15:04 -0000 1.37
+++ config.h 5 Mar 2010 06:25:36 -0000 1.38
@@ -360,6 +360,11 @@
# define CFS_DCACHE_KMEM_CACHE
#endif
+#define SSI_IPC_OBJ_DB_LOCKLESS
+#ifdef SSI_IPC_OBJ_DB_LOCKLESS
+# undef NSC_IPC_RWLOCK_DOWNGRADE
+#endif
+
/*
* High-Availability / Failover
*/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev