[SSI] openssi/kernel/include/cluster/gen rproc_platform.x,1.8,1.9

Roger Tsang <[email protected]> Tue, 09 Nov 2010 02:31:03 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/gen
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv10374/include/cluster/gen

Modified Files:
      Tag: OPENSSI-FC
	rproc_platform.x 
Log Message:
MOSIX:
- ssi_do_decay: fix did not operate on chosen task.
- ssi_do_decay: deprecated. consider() no longer requires mosix_task->dctime.
- consider: reduce excessive stack usage and useless math.
- mosix_calc_process_loads: remove unused code.
- mosix_calc_process_loads: no need to test for interrupt context. Caller in process context.
- mosix_calc_process_loads: calculate struct mosix_task->load for thread group so that in release_migrations() the thread group's load is accounted for when adjusting home/destination node's load value. OpenSSI migrates the thread group.
- release_migrations: clean-up and split CONFIG_SSI code.
- memory_badly_required: clean-up and split SSI_BALANCE_MEMORY code.
- memory_badly_required: only look at thread group leader's mosix_task->pages_i_bring. OpenSSI migrates the thread group.
- mosix_calc_process_loads, mosix_mem_daemon: OpenSSI is only interested in loadlevelable processes. Reduce unnecessary work.
- mosix_mem_daemon: call sort_and_age_pages() for thread group leaders only. reduce redundant work. (#ifdef SSI_BALANCE_MEMORY)
- run_over_dirty_pages: optimize away pte_really_dirty() call for the common code path.
- choose: use KERN_DEBUG log level. (#ifdef DEBUG)
- deactivate_task, activate_task: kernel threads no longer call run_on() / run_off(). Kernel threads do not migrate.
- Fix incorrect last_mconsider value in struct mosix_task after process migration. time_now() values are cross-node incompatible.
- No need to use task_rq_lock() to protect mosix_task->load. Switch to task_lock().

MOSIX (#ifdef REXEC_LOADTABLE_FAST):
- release_migrations: fix forgot to re-calculate value of altload in loadinfo array. Without recalculating altload other processes were not discouraged from migrating away. Regression introduced in CVS tag OPENSSI-FC-1-9-6-PRE45.
- mosix_calc_load: calculate the cached altload using value of newload, not export_load. In other places altload() is passed the value of load field in loadinfo structure and mosix_calc_load() stores the value of newload in load field.

 cluster/ssi/mosixll/balance.c           |  244 ++++++------------------
 cluster/ssi/mosixll/freemem.c           |   82 +++-----
 cluster/ssi/mosixll/info.c              |  160 ++++++++-------
 cluster/ssi/mosixll/kernel.c            |    3 
 cluster/ssi/mosixll/load.c              |   95 +++++----
 cluster/ssi/mosixll/service.c           |    4 
 cluster/ssi/vproc/rproc_cli_pproc.c     |    4 
 cluster/ssi/vproc/rproc_svr_pproc.c     |    4 
 include/cluster/gen/rproc_platform.x    |    6 
 include/cluster/ssi/mosixll/mosixtask.h |    6 
 kernel/sched.c                          |    6 
 11 files changed, 269 insertions(+), 345 deletions(-)


Index: rproc_platform.x
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/gen/rproc_platform.x,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- rproc_platform.x	18 Nov 2009 06:16:53 -0000	1.8
+++ rproc_platform.x	9 Nov 2010 02:31:01 -0000	1.9
@@ -217,14 +217,14 @@
 	uint32_t comm_dflags;
 	uint32_t comm_stay;
 	/* int64_t comm_pagetime; */
-	int64_t comm_last_consider;
-	int64_t comm_last_mconsider;
+	arch_uint comm_last_consider;
+	/* int64_t comm_last_mconsider: local only */
 /* #ifdef SSI_BALANCE_MEMORY */
 	arch_ulong comm_pages_i_bring;
 /* #else */
 	/* arch_int comm_pages_i_bring; */
 /* #endif */
-	int64_t comm_dctime;
+	/* arch_uint comm_dctime; */
 };
 
 /*


------------------------------------------------------------------------------
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