mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Subject: NFS nonzero preempt_count 1/2
Date: Tue, 16 Jul 2002 01:37:14 -0700	[thread overview]
Message-ID: <20020716083714.GN1022@holomorphy.com> (raw)

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

             reply	other threads:[~2002-07-16  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-16  8:37 William Lee Irwin III [this message]
2002-07-16 15:27 ` Thunder from the hill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020716083714.GN1022@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®