[SSI] openssi/kernel/cluster/ssi/util load_level.c,1.31,1.32
Roger Tsang <[email protected]> Tue, 09 Nov 2010 02:14:05 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/util
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8003/cluster/ssi/util
Modified Files:
Tag: OPENSSI-FC
load_level.c
Log Message:
MOSIX:
- consider: don't call kernel_fpu_begin/end(). There are no MMX instructions.
- choose, mchoose: only consider thread group leaders. OpenSSI migrates thread group.
- choose, consider: calculate thread stats at group level. It was removed in previous checkin. Now that we skip non-thread group leaders it is no longer O(n^2).
cluster/ssi/mosixll/balance.c | 98 ++++++++++++++++++++--------------
cluster/ssi/mosixll/load.c | 4 -
cluster/ssi/util/load_level.c | 4 -
3 files changed, 61 insertions(+), 45 deletions(-)
Index: load_level.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/util/load_level.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- load_level.c 25 Oct 2010 06:00:57 -0000 1.31
+++ load_level.c 9 Nov 2010 02:14:03 -0000 1.32
@@ -623,11 +623,7 @@
if (this_node == clms_master_node)
update_load_array(info->node, &info->load, &info->mem);
else
-#ifdef REXEC_LOADTABLE_RACE_FIX
- update_load_info(info);
-#else
update_load_info(info, info[0].load);
-#endif
#endif /* !CONFIG_MOSIX_LL */
}
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev