From: Pavel Emelianov <xemul@openvz.org>
To: Linus Torvalds <torvalds@osdl.org>,
Morton Andrew Morton <akpm@osdl.org>,
mingo@redhat.com
Cc: Vivek Goyal <vgoyal@in.ibm.com>, Adrian Bunk <bunk@stusta.de>,
linux kernel mailing list <linux-kernel@vger.kernel.org>,
dev@sw.ru
Subject: Re: 2.6.19-rc6: known regressions (v4)
Date: Wed, 22 Nov 2006 12:44:14 +0300 [thread overview]
Message-ID: <45641BEE.8060603@openvz.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0611211410460.3338@woody.osdl.org>
> I really think this is wrong.
>
> The original patch was wrong, and the _real_ problem is in __do_IRQ() that
> got the desc->lock too early.
>
> I _think_ the correct fix is to simply revert the broken commit, and fix
> the _one_ place that called "misnote_interrupt()" with the lock held.
>
> Something like this..
>
> I also think that the real fix will be to move the whole
>
> if (!noirqdebug)
> note_interrupt(irq, desc, action_ret);
>
>
> into handle_IRQ_event itself, since every caller (except for
> "misrouted_irq()" itself, and that should probably be done separately)
> should always do it. Right now we have a lot of people that just do
>
> action_ret = handle_IRQ_event(irq, action);
> if (!noirqdebug)
> note_interrupt(irq, desc, action_ret);
>
> explicitly.
>
> The only thing that keeps us from doing that is that we don't pass in
> "desc", but we should just do that.
>
> But in the meantime, this appears to be the minimal fix. Can people please
> test and verify?
This works for me, but is this normal that desc's fields are
modified non-atomically in note_interrupt()?
And one more thing - report_bad_irq() traverses desc->action
list without any locking either.
next prev parent reply other threads:[~2006-11-22 9:50 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-16 4:21 Linux 2.6.19-rc6 Linus Torvalds
2006-11-16 21:37 ` 2.6.19-rc6: known regressions Adrian Bunk
2006-11-16 21:43 ` Greg KH
2006-11-17 20:40 ` 2.6.19-rc6: known regressions (v2) Adrian Bunk
2006-11-18 8:02 ` [PATCH] mm: do not call bad_page on PG_reserved check David Rientjes
2006-11-18 13:37 ` Hugh Dickins
2006-11-18 4:04 ` Linux 2.6.19-rc6 - NFSD working again Christian Kujau
2006-11-20 19:53 ` 2.6.19-rc6: known regressions (v3) Adrian Bunk
2006-11-21 21:24 ` 2.6.19-rc6: known regressions (v4) Adrian Bunk
2006-11-21 21:31 ` [discuss] " Dave Jones
2006-11-21 21:39 ` Adrian Bunk
2006-11-21 21:56 ` Dave Jones
2006-11-21 21:33 ` Vivek Goyal
2006-11-21 21:41 ` Adrian Bunk
2006-11-21 22:18 ` Linus Torvalds
2006-11-22 9:44 ` Pavel Emelianov [this message]
2006-11-22 14:58 ` Vivek Goyal
2006-11-22 17:28 ` Linus Torvalds
2006-11-22 10:42 ` [discuss] " Andi Kleen
2006-11-22 15:52 ` Mel Gorman
2006-11-22 17:42 ` Andre Noll
2006-11-23 12:01 ` Mel Gorman
2006-11-23 13:08 ` Andre Noll
2006-11-23 13:28 ` Mel Gorman
2006-11-23 19:09 ` Andrew Morton
2006-11-23 21:55 ` Mel Gorman
2006-11-24 9:51 ` Andre Noll
2006-11-24 9:58 ` Andi Kleen
2006-11-24 20:43 ` Andrew Morton
2006-11-22 16:05 ` Andre Noll
2006-11-22 17:03 ` Mel Gorman
2006-11-22 17:08 ` Andi Kleen
2006-11-22 18:00 ` Andre Noll
2006-11-23 0:04 ` David Brownell
2006-11-23 0:54 ` 2.6.19-rc6: known regressions with patches available Adrian Bunk
2006-11-23 1:08 ` Andrew Morton
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=45641BEE.8060603@openvz.org \
--to=xemul@openvz.org \
--cc=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=dev@sw.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=torvalds@osdl.org \
--cc=vgoyal@in.ibm.com \
/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