[SSI] openssi/kernel/include/cluster/ssi/util rmtfb.h,1.11,1.12
Roger Tsang <[email protected]> Fri, 05 Mar 2010 06:06:01 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/util
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv3645/include/cluster/ssi/util
Modified Files:
Tag: OPENSSI-FC
rmtfb.h
Log Message:
- Double the number of buckets in hash tables rmtfb_svrtbl and rmtfb_clitbl.
Use hlist_head struct. Memory footprint unchanged.
cluster/ssi/util/rmtfb.c | 93 ++++++++++++++++---------------
include/cluster/ssi/util/rmtfb.h | 4 -
2 files changed, 50 insertions(+), 47 deletions(-)
Index: rmtfb.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/util/rmtfb.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- rmtfb.h 5 Mar 2010 05:48:18 -0000 1.11
+++ rmtfb.h 5 Mar 2010 06:05:59 -0000 1.12
@@ -41,7 +41,7 @@
#define rfb_clients_len BITS_TO_LONGS(rfb_clients_nbits)
struct rmtfb_cmn {
- struct list_head rfb_hash;
+ struct hlist_node rfb_hash;
struct file *rfb_file; /* associated file block */
unsigned long rfb_id; /* clusterwide unique ID */
#ifdef RMTFB_REFCNT_FIX
@@ -80,7 +80,7 @@
#ifdef SSI_NOTUSED
/* support for unique number server */
-void rmtfb_getids(struct list_head *ids, unsigned long min);
+void rmtfb_getids(struct hlist_head *ids, unsigned long min);
#endif
struct rmtfb_svr *rmtfb_getsvr_file(struct file *file);
------------------------------------------------------------------------------
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