[SSI] openssi ChangeLog,1.253,1.254

Roger Tsang <[email protected]> Mon, 05 Apr 2010 05:17:08 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv9450

Modified Files:
      Tag: OPENSSI-FC
	ChangeLog 
Log Message:
update


Index: ChangeLog
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/ChangeLog,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -d -r1.253 -r1.254
--- ChangeLog	3 Apr 2010 22:05:23 -0000	1.253
+++ ChangeLog	5 Apr 2010 05:17:05 -0000	1.254
@@ -1,10 +1,37 @@
 2010/??/??	*** Release of OpenSSI 2.0.0rc1 ***
 
+2010/04/05	rogertsang <[email protected]>
+	* CVS Tags: OPENSSI-FC-1-9-6-PRE36
+
+	* IPC Messages:
+	- Fix memory corruption in sys_msgsnd() due to double kfree of
+	  msg_msgseg structures after sending to remote message queue.
+	  ssi_msgpack() already freed msg_msgseg. The second kfree is done in
+	  free_msg() prior returning to user space.
+	- Eliminate unnecessary struct msgbuf de-serialization in sys_msgsnd()
+	  at remote clients. The existing implementation de-serializes the
+	  user's buffer into msg_msg structure for the local message queue
+	  first. Then if it determines the queue is remote the msg_msg
+	  structure is re-serialized for transport. The new implementation
+	  skips all that and instead sends a copy of the user's buffer to the
+	  server.
+	- Remove ssi_msgpack() it is no longer used.
+	- Create ssi_load_msg() based on ipc/msgutil.c:load_msg() to load
+	  kernel space buffer.
+	- ssi_remote_msgrcv() to skip zero'ing of kernel space receive buffer.
+	  There is no security issue since the contents of buffer is not copied
+	  to user space unless the remote operation is successful.
+
+	 cluster/ssi/ipc/ipcmsg_svr.c |   80 +++++----------------
+	 include/cluster/gen/ipc.svc  |    4 -
+	 ipc/msg.c                    |  133 +++++++++++++++++++++--------------
+	 3 files changed, 102 insertions(+), 115 deletions(-)
+
 2010/04/03	rogertsang <[email protected]>
 	* CVS Tags: OPENSSI-FC-1-9-6-PRE35
 
 	* IPC Messages:
-	- Fix ripc_msgsnd() multiple struct msg_msgseg leak on ssi_msgnd()
+	- Fix ripc_msgsnd() multiple struct msg_msgseg leak on ssi_msgsnd()
 	  error.
 	- Fix double kfree() due to ssi_msgsnd() did not NULL "msgp" pointer to
 	  struct msg_msg when message is queued. Bug introduced in


------------------------------------------------------------------------------
Download Intel&#174; 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