patch-2.1.121 linux/net/sunrpc/sched.c

Next file: linux/net/sunrpc/svcsock.c
Previous file: linux/net/sunrpc/clnt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.120/linux/net/sunrpc/sched.c linux/net/sunrpc/sched.c
@@ -420,7 +420,6 @@
 			 * When the task received a signal, remove from
 			 * any queues etc, and make runnable again.
 			 */
-			checksignals();
 			if (signalled())
 				__rpc_wake_up(task);
 
@@ -435,7 +434,6 @@
 		 * clean up after sleeping on some queue, we don't
 		 * break the loop here, but go around once more.
 		 */
-		checksignals();
 		if (!RPC_IS_ASYNC(task) && signalled()) {
 			dprintk("RPC: %4d got signal\n", task->tk_pid);
 			rpc_exit(task, -ERESTARTSYS);
@@ -555,7 +553,6 @@
 		if (flags & RPC_TASK_ASYNC)
 			return NULL;
 		current->timeout = jiffies + (HZ >> 4);
-		checksignals();
 		current->state = TASK_INTERRUPTIBLE;
 		schedule();
 	} while (!signalled());
@@ -802,7 +799,6 @@
 
 	dprintk("RPC: rpciod starting (pid %d)\n", rpciod_pid);
 	while (rpciod_users) {
-		checksignals();
 		if (signalled()) {
 			rpciod_killall();
 			flush_signals(current);
@@ -931,7 +927,6 @@
 	 */
 	while (rpciod_pid) {
 		dprintk("rpciod_down: waiting for pid %d to exit\n", rpciod_pid);
-		checksignals();
 		if (signalled()) {
 			dprintk("rpciod_down: caught signal\n");
 			break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov