[SSI] openssi ChangeLog,1.238,1.239
Roger Tsang <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24452
Modified Files:
Tag: OPENSSI-FC
ChangeLog
Log Message:
Update for 2009/03/28 checkin
Index: ChangeLog
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/ChangeLog,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -d -r1.238 -r1.239
--- ChangeLog 19 May 2009 06:44:02 -0000 1.238
+++ ChangeLog 22 May 2009 07:47:32 -0000 1.239
@@ -1,6 +1,28 @@
2009/06/?? *** Release of OpenSSI 1.9.6 ***
2009/03/28 rogertsang <[email protected]>
+ * CFS:
+ - Optimize away all directories in cfs_permission() since a recheck occurs after getting token.
+ - Regression:
+ - skipping cfs_permission() entirely.
+
+ * IPC:
+ - Fix [ ssic-linux-Bugs-2719607 ] memory leak in ipcname_gettotal() path; based on patch from John Hughes (hughesj).
+ - sizing & allocation of struct ssi_nodeid_pair array now ipcname_gettotal() callers' responsibility.
+ - now RPC encodes/decodes struct ssi_nodeid_pair array as a vector and not a buffer.
+
+ cluster/ssi/cfs/dir.c | 6 +-
+ cluster/ssi/ipc/namesvr_clnt.c | 32 ++++++-------
+ cluster/ssi/ipc/namesvr_func.c | 35 ++++----------
+ cluster/ssi/ipc/namesvr_svr.c | 34 ++++++++++----
+ fs/proc/base.c | 2
+ include/cluster/gen/ics_proto_gen.h.list | 1
+ include/cluster/gen/ipc.svc | 2
+ include/linux/ipc.h | 9 +++
+ ipc/msg.c | 64 ++++++++++++++-------------
+ ipc/sem.c | 73 +++++++++++++++----------------
+ ipc/shm.c | 67 +++++++++++++---------------
+ 11 files changed, 165 insertions(+), 160 deletions(-)
2009/03/24 rogertsang <[email protected]>
* CFS:
@@ -87,9 +109,6 @@
- Poll for nodeinfo event in icscli_llsend() in case nodeinfo raced on SMP.
However later analysis did not identify the race. This should be reverted.
- * IPC:
- - Fix [ ssic-linux-Bugs-2719607 ] memory leak in ipcname_gettotal() path; based on patch from John Hughes (hughesj).
-
* PROCFS:
- Disable mem_write() a potential security hazard; disabled by default in base.
- Optimize away calls to PVPOP_PROCFS_GETATTR(), VPROC_RELE(), vproc_is_alive() or process_is_alive().
@@ -111,7 +130,7 @@
* PROCFS (#ifdef PROC_LARGE_MAXPIDS):
- Optimize proc_pid_readdir() for default/cluster view.
- Increase PROC_MAXPIDS from 20 to 8192 or VPROC_MAXPIDS.
- - For performnace we no longer initialize the pid_list buffer when allocating struct proc_root_readdir_cookie.
+ - For performance we no longer initialize the pid_list buffer when allocating struct proc_root_readdir_cookie.
* PROCFS (#ifdef PROC_CLUSTER_DIR_ENTRY_FIX):
- Fix proc_dir_entry race ...
@@ -151,7 +170,7 @@
- Fix ssisys_ignore_halfup() modifying pvproc flags without holding FLAG LOCK.
- Fix rcluster_get_mount()
- traversing process namespace without locking.
- - dereferencing rootmnt (struct vfsmount) without holding reference count.
+ - dereferencing rootmnt (struct vfsmount) without bumping reference count.
- Fix rproc_arch_data_unload_msg() could get preempted while modifying the TLS.
- Regression:
- vproc_release() de-allocated struct vproc even when reference count got bumped; this was accidentally introduced
@@ -188,13 +207,13 @@
- vpop_setup_vproc_relations() might sleep while in atomic (holding FLAG LOCK).
- vproc_origin_find_nolock() might sleep while in atomic (holding vproc_origin_list_lock)
in vproc_origin_inform_surrogate() code path.
- - As a result vproc_origin_list is also serialized by vproc_origin_create_mutex.
+ - As part of fix vproc_origin_list is serialized also by vproc_origin_create_mutex,
+ - new macros VOD_GET()/VOD_PUT() implement use of reference counts for struct vproc_origin_data,
+ - and we abandon use of shared read/write semaphore to track struct vproc_origin_data usage.
- get_node() might sleep in atomic (holding tasklist_lock) in ssi_tty_get_pgrp()
code path rssi_tty_get_pgrp, ssi_get_tty, devpts_get_tty, get_node.
- - Fix OOPS at new_encode_dev() bogus task->signal pointer after returning
- from ssi_tty_get_pgrp() in do_task_stat().
- - New macros VOD_GET()/VOD_PUT() implement use of reference counts instead of
- shared read/write semaphore to track struct vproc_origin_data usage.
+ - with the fix we need to prevent bogus task->signal pointer after
+ returning from ssi_tty_get_pgrp() in do_task_stat().
* VPROC (#ifdef VPROC_CARECOUNT_FIX):
- Fix memory leak; struct vproc_caredata leak.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com