patch-2.1.110 linux/net/sunrpc/sched.c
Next file: linux/net/sunrpc/sunrpc_syms.c
Previous file: linux/net/sunrpc/clnt.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Jul 20 14:34:12 1998
- Orig file:
v2.1.109/linux/net/sunrpc/sched.c
- Orig date:
Mon Jan 19 13:57:37 1998
diff -u --recursive --new-file v2.1.109/linux/net/sunrpc/sched.c linux/net/sunrpc/sched.c
@@ -466,10 +466,12 @@
struct rpc_task *task;
int count = 0;
unsigned long oldflags;
+ int need_resched = current->need_resched;
dprintk("RPC: rpc_schedule enter\n");
+ save_flags(oldflags);
while (1) {
- save_flags(oldflags); cli();
+ cli();
if (!(task = schedq.task))
break;
rpc_del_timer(task);
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]