[SSI] openssi/kernel/fs exec.c,1.18,1.19

Roger Tsang <[email protected]> Mon, 17 Jan 2011 06:30:47 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/fs
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv26767/fs

Modified Files:
      Tag: OPENSSI-FC
	exec.c 
Log Message:
__ssi_choose_node: add instrumentation. (#ifdef DEBUG_LDLVL)


Index: exec.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/fs/exec.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- exec.c	25 Oct 2010 05:04:28 -0000	1.18
+++ exec.c	17 Jan 2011 06:30:45 -0000	1.19
@@ -1282,11 +1282,18 @@
 	clusternode_t ret;
 	int retry = 0;
 
+#ifdef DEBUG_LDLVL
+	printk(KERN_DEBUG "%s: pid %d\n", __FUNCTION__, current->pid);
+#endif
 again:
 	if (bitmap_empty(rexec_loadmap, NSC_MAX_NODE_VALUE))
 		return -EAGAIN;
 
 	spin_lock(&choose_node_lock);
+#ifdef DEBUG_LDLVL
+	printk(KERN_DEBUG "%s: pid %d node=%d rexec_loadmap=%lx\n",
+		__FUNCTION__, current->pid, node, *rexec_loadmap);
+#endif
 	node = find_next_bit(rexec_loadmap, NSC_MAX_NODE_VALUE, node);
 	if (node >= NSC_MAX_NODE_VALUE)
 		node = find_first_bit(rexec_loadmap, NSC_MAX_NODE_VALUE);


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