NFS nonzero preempt_count 1/2

William Lee Irwin III (wli@holomorphy.com)
Tue, 16 Jul 2002 01:37:14 -0700


When unmounting an NFS filesystem, I saw printk's reporting that NFS
daemons exited with nonzero preempt_counts. Fixing this up so they
no longer give the warning seems like a good idea.

Patch attempting to do this for rpciod below.

Cheers,
Bill

===== net/sunrpc/sched.c 1.15 vs edited =====
--- 1.15/net/sunrpc/sched.c Fri May 3 18:52:12 2002
+++ edited/net/sunrpc/sched.c Tue Jul 16 02:00:32 2002
@@ -1088,6 +1088,7 @@
wake_up(assassin);

dprintk("RPC: rpciod exiting\n");
+ unlock_kernel();
MOD_DEC_USE_COUNT;
return 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/