mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Walker <dwalker@mvista.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.13-rc7-rt1
Date: Thu, 25 Aug 2005 14:46:13 -0700	[thread overview]
Message-ID: <1125006373.10901.11.camel@dhcp153.mvista.com> (raw)
In-Reply-To: <20050825062651.GA26781@elte.hu>


Wakeup race checking shouldn't trigger when interrupts are off. Here's a
fix.

Daniel

Index: linux-2.6.12/kernel/rt.c
===================================================================
--- linux-2.6.12.orig/kernel/rt.c	2005-08-25 21:33:43.000000000 +0000
+++ linux-2.6.12/kernel/rt.c	2005-08-25 21:44:20.000000000 +0000
@@ -257,6 +257,7 @@ void check_preempt_wakeup(struct task_st
 	 * hangs and race conditions.
 	 */
 	if (!preempt_count() &&
+		!__raw_irqs_disabled() &&
 		p->prio < current->prio &&
 		rt_task(p) &&
 		(current->rcu_read_lock_nesting != 0 ||



  parent reply	other threads:[~2005-08-25 21:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-25  6:26 2.6.13-rc7-rt1 Ingo Molnar
2005-08-25 15:36 ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-25 17:45   ` 2.6.13-rc7-rt1 Ingo Molnar
2005-08-25 21:35     ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-26  6:31       ` 2.6.13-rc7-rt1 Ingo Molnar
2005-08-26 14:27         ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-25 17:37 ` 2.6.13-rc7-rt1 Chuck Harding
2005-08-25 21:46 ` Daniel Walker [this message]
2005-08-25 21:54   ` 2.6.13-rc7-rt1 Ingo Molnar
2005-08-25 22:11     ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-25 22:19     ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-26  6:32   ` 2.6.13-rc7-rt1 Ingo Molnar
2005-08-25 23:29 ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-26  0:22   ` 2.6.13-rc7-rt1 Thomas Gleixner
2005-08-26  1:15     ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-26  6:43       ` 2.6.13-rc7-rt1 Thomas Gleixner
2005-08-26 14:17         ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-26  6:17   ` 2.6.13-rc7-rt1 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=1125006373.10901.11.camel@dhcp153.mvista.com \
    --to=dwalker@mvista.com \
    --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®