[SSI] openssi/kernel/include/cluster/ssi/mosixll defs.h,1.6,1.7
Roger Tsang <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/mosixll
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32011/kernel/include/cluster/ssi/mosixll
Modified Files:
Tag: OPENSSI-FC
defs.h
Log Message:
MOSIX:
- Fix acquiring loadinfo_lock without disabling bottom half. Actually in OpenSSI
we don't need to disable bottom half for loadinfo_lock, but we are doing this f
or compatiblity with openMosix code. Eventually we should clean this up for Open
SSI.
- Fix mosix_task->pages_i_bring race.
- Comment unused code.
MOSIX (#ifdef SSI_BALANCE_MEMORY):
- Fix deadlock bug nesting task_lock() in write_lock_irq(&tasklist_lock).
- Remove inappropriate task_lock() for mm_struct->last_memsort, used, swapped.
- New mm_struct->memsort_lock spinlock replaces write_lock_irq(&tasklist_lock);
protects mm_struct->last_memsort, used, swapped.
VPROC:
- New separate spinlock for pvp_comm_de, pvp_comm_mnt deprecates task_lock(). (#
ifdef VPROC_LOCK_PVP_COMM)
Index: defs.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/mosixll/defs.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- defs.h 27 Oct 2009 03:18:30 -0000 1.6
+++ defs.h 17 Nov 2009 06:09:02 -0000 1.7
@@ -30,6 +30,7 @@
extern spinlock_t whereto_lock;
+#ifndef CONFIG_SSI
extern struct task_struct *mig_proc;
extern int mig_daemon_active;
extern struct task_struct *info_proc;
@@ -41,9 +42,12 @@
extern int mosadmin_mode_stay; /* no automatic migration out */
extern int mosadmin_mode_lstay; /* same just for local processes */
extern int mosadmin_mode_block; /* do not accept guests */
+#endif
extern int mosadmin_mode_quiet; /* stop the load-chat (obsolete) */
+#ifndef CONFIG_SSI
extern int mosadmin_mode_nomfs; /* disallow MFS access to this node */
extern char bootexpel, expel_progress;
+#endif
#ifdef SSI_BALANCE_MEMORY
extern volatile unsigned long latest_free_mem;
#else
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july