From: Marc-Christian Petersen <m.c.p@wolk-project.de>
To: Robert Love <rml@tech9.net>
Cc: David Brown <dave@codewhore.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Preempt on PowerPC/SMP appears to leak memory
Date: Mon, 14 Apr 2003 01:12:05 +0200 [thread overview]
Message-ID: <200304140112.05673.m.c.p@wolk-project.de> (raw)
In-Reply-To: <1050275256.767.9.camel@localhost>
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
On Monday 14 April 2003 01:07, Robert Love wrote:
Hi Robert,
> On Sun, 2003-04-13 at 19:03, Marc-Christian Petersen wrote:
> > This is an incremental diff snipplet. The second preempt_disable();
> > should be a preempt_enable(); no?
> Yep. Thanks.
np. Two other small fixes you may want to include are attached.
1. fix "Exited with preempt count" if you exit kernel-nfsd
2. fix "Exited with preempt count" at machine_halt(); and machine_power_off();
Attached in this order.
ciao, Marc
[-- Attachment #2: 00_preempt-kernel-rml-2.4.20-nfsd-fix.patch --]
[-- Type: text/x-diff, Size: 282 bytes --]
--- linux-old/fs/nfsd/nfssvc.c 2002-12-18 01:03:59.000000000 +0100
+++ linux-wolk4/fs/nfsd//nfssvc.c 2003-01-01 06:53:44.000000000 +0100
@@ -250,6 +250,7 @@ nfsd(struct svc_rqst *rqstp)
svc_exit_thread(rqstp);
/* Release module */
+ unlock_kernel();
MOD_DEC_USE_COUNT;
}
[-- Attachment #3: 01_preempt-kernel-rml-2.4.20-halt-reboot-fix.patch --]
[-- Type: text/x-diff, Size: 599 bytes --]
--- linux-old/kernel/sys.c 2003-01-06 17:57:12.000000000 +0100
+++ linux-wolk4/kernel/sys.c 2003-01-06 18:34:59.000000000 +0100
@@ -354,6 +354,7 @@ asmlinkage long sys_reboot(int magic1, i
notifier_call_chain(&reboot_notifier_list, SYS_HALT, NULL);
printk(KERN_EMERG "System halted.\n");
machine_halt();
+ unlock_kernel();
do_exit(0);
break;
@@ -361,6 +362,7 @@ asmlinkage long sys_reboot(int magic1, i
notifier_call_chain(&reboot_notifier_list, SYS_POWER_OFF, NULL);
printk(KERN_EMERG "Power down.\n");
machine_power_off();
+ unlock_kernel();
do_exit(0);
break;
next prev parent reply other threads:[~2003-04-13 23:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-12 15:29 David Brown
2003-04-13 21:55 ` Robert Love
2003-04-13 21:57 ` Robert Love
2003-04-13 22:02 ` David Brown
2003-04-13 23:03 ` Marc-Christian Petersen
2003-04-13 23:07 ` Robert Love
2003-04-13 23:12 ` Marc-Christian Petersen [this message]
2003-04-14 2:26 ` David Brown
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=200304140112.05673.m.c.p@wolk-project.de \
--to=m.c.p@wolk-project.de \
--cc=dave@codewhore.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@tech9.net \
/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®