[SSI] openssi/kernel/include/cluster/ssi unix.h,1.14,1.15
Roger Tsang <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14118/include/cluster/ssi
Modified Files:
Tag: OPENSSI-FC
unix.h
Log Message:
CFS:
- Allocate file_lock structure from stack in cfs_proc_set/getlock_0(), cfs_rb_dolocks().
- Fix possible busy spin forever in cfs_rb_dolocks(); need error handling.
- Optimize away early malloc in svrtok_lookup(). (#ifdef RCU_CFSTOK_TABLE)
IPC:
- Regression:
- Partially initialized rmtunix_socket_info structure. (#ifdef RMTUNIX_SOCK_INFO_CACHE)
VPROC:
- Regression:
- pvpop_reclaim_child() livelock in __ptrace_unlink path. (#ifdef VPROC_RW_LOCK)
cluster/ssi/cfs/cfs_ipcshm.c | 4 -
cluster/ssi/cfs/cfsproc.c | 90 +++++++++++++++++----------------------
cluster/ssi/cfs/svrcfs.c | 24 +++-------
cluster/ssi/ipc/rmtunix.c | 8 +--
cluster/ssi/vproc/dvp_pvpops.c | 10 ++--
include/cluster/ssi/ipc/unixnm.h | 9 ++-
include/cluster/ssi/unix.h | 6 +-
7 files changed, 69 insertions(+), 82 deletions(-)
Index: unix.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/unix.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- unix.h 3 Feb 2009 06:18:13 -0000 1.14
+++ unix.h 7 Feb 2009 04:19:43 -0000 1.15
@@ -282,14 +282,14 @@
might_sleep();
if (!atomic_dec_and_lock(&info->rsk_refcnt, &rmtunix_cache_listlock))
return;
- spin_lock(&s->sk_lock.slock);
+ LOCK_SPIN_LOCK(&info->rsk_spinlock);
if (!info->rsk_cached) {
- spin_unlock(&s->sk_lock.slock);
+ UNLOCK_SPIN_LOCK(&info->rsk_spinlock);
spin_unlock(&rmtunix_cache_listlock);
return;
}
info->rsk_cached = 0;
- spin_unlock(&s->sk_lock.slock);
+ UNLOCK_SPIN_LOCK(&info->rsk_spinlock);
#ifdef RCU_RMTUNIX_CACHE
list_del_rcu(&info->list);
#else
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com