From: Joe Korty <joe.korty@ccur.com>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: [PATCH] possible error in EXIT_DEAD transformation
Date: Tue, 14 Jun 2005 10:32:13 -0400 [thread overview]
Message-ID: <20050614143213.GA2059@tsunami.ccur.com> (raw)
This assignment may have been missed, when TASK_DEAD was
converted over to EXIT_DEAD.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
2.6.12-rc6-git7-jak/kernel/sched.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puNa kernel/sched.c~possibly.erronous.task_state.assignment kernel/sched.c
--- 2.6.12-rc6-git7/kernel/sched.c~possibly.erronous.task_state.assignment 2005-06-14 10:25:49.000000000 -0400
+++ 2.6.12-rc6-git7-jak/kernel/sched.c 2005-06-14 10:26:05.000000000 -0400
@@ -2664,7 +2664,7 @@ need_resched_nonpreemptible:
spin_lock_irq(&rq->lock);
if (unlikely(prev->flags & PF_DEAD))
- prev->state = EXIT_DEAD;
+ prev->exit_state = EXIT_DEAD;
switch_count = &prev->nivcsw;
if (prev->state && !(preempt_count() & PREEMPT_ACTIVE)) {
_
next reply other threads:[~2005-06-14 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 14:32 Joe Korty [this message]
2005-06-14 14:47 ` Ingo Molnar
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=20050614143213.GA2059@tsunami.ccur.com \
--to=joe.korty@ccur.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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®