mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* NFS nonzero preempt_count 1/2
@ 2002-07-16  8:37 William Lee Irwin III
  2002-07-16 15:27 ` Thunder from the hill
  0 siblings, 1 reply; 2+ messages in thread
From: William Lee Irwin III @ 2002-07-16  8:37 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-16 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-16  8:37 NFS nonzero preempt_count 1/2 William Lee Irwin III
2002-07-16 15:27 ` Thunder from the hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®