[SSI] openssi/kernel/cluster/ssi/mosixll balance.c,1.22,1.23
Roger Tsang <[email protected]> Mon, 17 Jan 2011 06:35:15 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/mosixll
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv27501/cluster/ssi/mosixll
Modified Files:
Tag: OPENSSI-FC
balance.c
Log Message:
consider: add comment about array index 0 in the for-loop iterating over loadinfo[] array of loadinfo structures.
Index: balance.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/mosixll/balance.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- balance.c 15 Dec 2010 07:03:10 -0000 1.22
+++ balance.c 17 Jan 2011 06:35:13 -0000 1.23
@@ -1015,6 +1015,9 @@
goto out;
migpages = run_over_dirty_pages(NULL, 0);
+ /* NOTE! loadinfo[i] is not used where i = this_node.
+ * loadinfo[0] contains loadinfo for this node.
+ */
for (i = 0; i < INFO_WIN; i++) {
if (i && (!loadinfo[i].node || loadinfo[i].mem < migpages))
continue;
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl