From: Nathan Lynch <nathanl@austin.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>,
Rusty Russell <rusty@rustcorp.com.au>,
paulus@au1.ibm.com, lkml <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>
Subject: [PATCH] ppc64: call idle_task_exit from cpu_die
Date: Fri, 07 Jan 2005 15:44:21 -0600 [thread overview]
Message-ID: <1105134261.13391.9.camel@pants.austin.ibm.com> (raw)
In-Reply-To: <1105134189.13391.6.camel@pants.austin.ibm.com>
Call idle_task_exit from cpu_die to avoid mm_struct leak.
Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
---
diff -puN arch/ppc64/kernel/setup.c~ppc64-call-idle_task_exit-from-cpu_die arch/ppc64/kernel/setup.c
--- linux-2.6.10-bk10/arch/ppc64/kernel/setup.c~ppc64-call-idle_task_exit-from-cpu_die 2005-01-07 15:33:02.000000000 -0600
+++ linux-2.6.10-bk10-nathanl/arch/ppc64/kernel/setup.c 2005-01-07 15:33:23.000000000 -0600
@@ -1345,6 +1345,7 @@ early_param("xmon", early_xmon);
void cpu_die(void)
{
+ idle_task_exit();
if (ppc_md.cpu_die)
ppc_md.cpu_die();
local_irq_disable();
_
prev parent reply other threads:[~2005-01-07 21:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-04 13:11 [BUG] mm_struct leak on cpu hotplug (s390/ppc64) Heiko Carstens
2005-01-05 2:41 ` Nathan Lynch
2005-01-05 11:08 ` Ingo Molnar
2005-01-05 14:22 ` Heiko Carstens
2005-01-05 15:44 ` Nathan Lynch
2005-01-07 11:43 ` Ingo Molnar
2005-01-07 21:43 ` [PATCH] introduce idle_task_exit Nathan Lynch
2005-01-07 21:44 ` Nathan Lynch [this message]
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=1105134261.13391.9.camel@pants.austin.ibm.com \
--to=nathanl@austin.ibm.com \
--cc=akpm@osdl.org \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@au1.ibm.com \
--cc=rusty@rustcorp.com.au \
/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