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

* Re: NFS nonzero preempt_count 1/2
  2002-07-16  8:37 NFS nonzero preempt_count 1/2 William Lee Irwin III
@ 2002-07-16 15:27 ` Thunder from the hill
  0 siblings, 0 replies; 2+ messages in thread
From: Thunder from the hill @ 2002-07-16 15:27 UTC (permalink / raw)
  To: William Lee Irwin III; +Cc: Linux Kernel Mailing List

Hi,

On Tue, 16 Jul 2002, William Lee Irwin III wrote:
> @@ -1088,6 +1088,7 @@
>  	wake_up(assassin);
>  
>  	dprintk("RPC: rpciod exiting\n");
> +	unlock_kernel();
>  	MOD_DEC_USE_COUNT;
>  	return 0;
>  }

I wonder why the checker didn't yell on this. Wasn't it in the tree when 
the checker checked?

							Regards,
							Thunder
-- 
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------


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