From: Daniel Walker <dwalker@mvista.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: "Sébastien Dugué" <sebastien.dugue@bull.net>,
"Ingo Molnar" <mingo@elte.hu>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Linux RT Users" <linux-rt-users@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] RT: fix spin_trylock_irq
Date: Mon, 15 Oct 2007 10:44:06 -0700 [thread overview]
Message-ID: <1192470246.17527.15.camel@imap.mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0710111046170.20114@gandalf.stny.rr.com>
On Thu, 2007-10-11 at 10:49 -0400, Steven Rostedt wrote:
> > ---
> > include/linux/spinlock.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > Index: linux-2.6.23-rc9-rt2/include/linux/spinlock.h
> > ===================================================================
> > --- linux-2.6.23-rc9-rt2.orig/include/linux/spinlock.h
> > +++ linux-2.6.23-rc9-rt2/include/linux/spinlock.h
> > @@ -501,7 +501,7 @@ do { \
> >
> > #define spin_trylock_irq(lock) \
> > __cond_lock(lock, PICK_SPIN_OP_RET(__spin_trylock_irq, \
> > - __spin_trylock_irq, lock))
> > + _spin_trylock_irq, lock))
> >
> > #define spin_trylock_irqsave(lock, flags) \
> > __cond_lock(lock, PICK_SPIN_OP_RET(__spin_trylock_irqsave, \
>
> Thanks! Applied.
>
> Daniel, this BUG was introduced by your conversion to PICK_FUNCTION patch.
> Please be more careful, and do an audit of your patch. (I don't have time
> ATM). This could also be the source of other bugs I've been chasing.
>
> I might be pulling the PICK_FUNCTION patches if there's more bugs like
> this.
This is the second fix for this .. The first was in this email (over a
month ago)
http://lkml.org/lkml/2007/8/31/318
The above was emailed to Thomas, but I also sent you that link in IRC as
a link of patches to include .. I'll be happy to audit my code better,
but you should also audit your inclusion process better.. There have
been too many missed patches, and too many double and triples fixes..
Daniel
next prev parent reply other threads:[~2007-10-15 17:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-11 12:24 Sébastien Dugué
2007-10-11 14:49 ` Steven Rostedt
2007-10-15 17:44 ` Daniel Walker [this message]
2007-10-15 18:14 ` Steven Rostedt
2007-10-15 20:06 ` Daniel Walker
2007-10-15 21:35 ` Thomas Gleixner
2007-10-15 21:44 ` Daniel Walker
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=1192470246.17527.15.camel@imap.mvista.com \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=sebastien.dugue@bull.net \
--cc=tglx@linutronix.de \
/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®