[SSI] openssi/kernel/include/linux config.h,1.31,1.32

Roger Tsang <[email protected]> Tue, 02 Feb 2010 05:23:57 +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-serv20997/include/linux

Modified Files:
      Tag: OPENSSI-FC
	config.h 
Log Message:
SSIDEV:
- Optimize away kmalloc() calls in rssidev_sync() code path; pre-allocate
  ic_chunks in ics_chunk_t.

SSIDEV (#ifdef SSIDEV_HASH_SD_LIST_FIX):
- Fix dereferencing uninitialized list_head struct in ssidev_hash struct.
  Affects ssidev_unique_list and ssidev_free_list list traversal.
- Fix inappropriate use of doubly linked-list for single linked-list traversal.
- Convert ssidev_linux_hash[] array of pointers to array of Linux list_head
  structs allocated from the slab.


Index: config.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/linux/config.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- config.h	17 Dec 2009 06:43:51 -0000	1.31
+++ config.h	2 Feb 2010 05:23:55 -0000	1.32
@@ -337,6 +337,10 @@
 #  define VPROC_LOCK_PVP_COMM
 #endif
 
+#ifdef SSIDEV_HASH_KMEM_CACHE
+#  define SSIDEV_HASH_SD_LIST_FIX
+#endif
+
 /*
  * High-Availability / Failover
  */


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com