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 15:11:25 -0700	[thread overview]
Message-ID: <1125007885.14592.2.camel@dhcp153.mvista.com> (raw)
In-Reply-To: <20050825215451.GA7479@elte.hu>

On Thu, 2005-08-25 at 23:54 +0200, Ingo Molnar wrote:
> * Daniel Walker <dwalker@mvista.com> wrote:
> 
> > @@ -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 ||
> 
> did you get a false positive? If yes, in what code/driver?


Yes, one was in trigger_softirqs() , the other in init_sd . Both traces
below.

BUG: swapper/1, possible wake_up race on softirq-scsi/3/31

Call Trace:<ffffffff80121ade>{wake_up_process+17} <ffffffff8012ddec>{trigger_softirqs+76}
       <ffffffff80379fed>{__scsi_done+101} <ffffffff803e55b4>{ata_scsi_rbuf_fill+114}
       <ffffffff80379fff>{scsi_done+0} <ffffffff803e5e0e>{ata_scsi_simulate+320}
       <ffffffff80379fff>{scsi_done+0} <ffffffff803e5f08>{ata_scsi_queuecmd+228}
       <ffffffff8037a1ff>{scsi_dispatch_cmd+488} <ffffffff8037f7d3>{scsi_request_fn+1046}
       <ffffffff8031c9b7>{blk_insert_request+156} <ffffffff8037e23f>{scsi_insert_special_req+51}
       <ffffffff8037e513>{scsi_wait_req+339} <ffffffff8037fae7>{__scsi_mode_sense+228}
       <ffffffff803e8f63>{sd_revalidate_disk+3037} <ffffffff80143953>{add_preempt_count_ti+35}
       <ffffffff80143442>{atomic_dec_and_spin_lock+52} <ffffffff801a9fc2>{rescan_partitions+133}
       <ffffffff8017729b>{do_open+672} <ffffffff80176fc2>{blkdev_get+161}

BUG: swapper/1, possible wake_up race on softirq-scsi/1/15

Call Trace:<ffffffff80121ade>{wake_up_p   <ffffffff8031581d>{driver_register+91} <ffffffff80834e5b>{init_sd+31}
       <ffffffff8010b24f>{init+503} <ffffffff8010e93e>{child_rip+8}
       <ffffffff8010b058>{init+0} <ffffffff8010e936>{child_rip+0}



  reply	other threads:[~2005-08-25 22:12 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 ` 2.6.13-rc7-rt1 Daniel Walker
2005-08-25 21:54   ` 2.6.13-rc7-rt1 Ingo Molnar
2005-08-25 22:11     ` Daniel Walker [this message]
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=1125007885.14592.2.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®