From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: prasanna@in.ibm.com
Cc: linux-kernel@vger.kernel.org,
"Ananth N Mavinakayanahalli" <ananth@in.ibm.com>,
"Anil S Keshavamurthy" <anil.s.keshavamurthy@intel.com>,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH] kprobes: kprobe_mutex is no longer a semaphore
Date: Mon, 27 Feb 2006 10:41:40 +0100 [thread overview]
Message-ID: <9a8748490602270141y67316c66q4be2ce64d9786eb9@mail.gmail.com> (raw)
In-Reply-To: <20060227064258.GB19153@in.ibm.com>
On 2/27/06, Prasanna S Panchamukhi <prasanna@in.ibm.com> wrote:
> On Sat, Feb 25, 2006 at 12:42:46PM +0100, Jesper Juhl wrote:
> >
> > kprobe_mutex used to be a semaphore it is now a mutex, so calling down/up on
> > it is wrong, we should be using mutex_lock/mutex_unlock instead.
> >
> > gcc was kind enough to warn about this :
> > arch/i386/kernel/kprobes.c: In function `arch_remove_kprobe':
> > arch/i386/kernel/kprobes.c:135: warning: passing arg 1 of `down' from incompatible pointer type
> > arch/i386/kernel/kprobes.c:137: warning: passing arg 1 of `up' from incompatible pointer type
> >
> >
> > Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
>
>
> Looks good, this patch depends on the sem2mutex-kprobes.patch in -mm
> tree.
> http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc4/2.6.16-rc4-mm2/broken-out/sem2mutex-kprobes.patch
>
> Acked-by : Prasanna S Panchamukhi <prasanna@in.ibm.com>
>
Thank you.
Are you going to merge it / push it to Andrew or Linus?
If not I'll just queue it up with some other patches I have lying
around and forward it with those other patches in a week or so.
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
next prev parent reply other threads:[~2006-02-27 9:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200602251242.46408.jesper.juhl@gmail.com>
2006-02-27 6:42 ` Prasanna S Panchamukhi
2006-02-27 9:41 ` Jesper Juhl [this message]
2006-02-27 9:49 ` Prasanna S Panchamukhi
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=9a8748490602270141y67316c66q4be2ce64d9786eb9@mail.gmail.com \
--to=jesper.juhl@gmail.com \
--cc=ananth@in.ibm.com \
--cc=anil.s.keshavamurthy@intel.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=prasanna@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
all inboxes | Powered by JetHome®