From: Harvey Harrison <harvey.harrison@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: FInal kprobes rollup patches
Date: Sat, 15 Dec 2007 01:04:02 -0800 [thread overview]
Message-ID: <1197709442.898.97.camel@brick> (raw)
In-Reply-To: <20071215085015.GA9720@elte.hu>
On Sat, 2007-12-15 at 09:50 +0100, Ingo Molnar wrote:
> * Harvey Harrison <harvey.harrison@gmail.com> wrote:
>
> > Further unification work. There is a possible behavior change on
> > X86_32 here.
> >
> > is_IF_modifier(p->opcode)
> >
> > to
> >
> > is_IF_modifier(p->ainsn.insn)
> >
> > Which should be equivalent, but is not purely cosmetic as the rest of
> > the unification so far.
>
> hm, could you split this into two, the pure-equivalence and the
> possibly-modifying patch? (that way any potential breakage becomes
> bisectable) Same end result, just two commits instead of one.
>
Sure, I'll go back through and see if the series can be cleaned up a bit
as well as expand the commit message a little bit.
> also, did you manage to run/test kprobes (on 32-bit or 64-bit x86), and
> it worked fine?
>
Sorry, I should have predicated the whole series with RFC. Currently
this is compile-tested only. There is only the one patch that has
any behavioral change. I believe the series also pointed out an
existing bug in the 32-bit version...which I've preserved but will
note in the commit messages in the respun series.
In case you're interested, from the patch which unifies the definition
of MAX_INSTRUCTION_SIZE:
memcpy(p->ainsn.insn, p->addr, (MAX_INSN_SIZE + 1) *
sizeof(kprobe_opcode_t));
If you compare this memcpy from arch_prepare_kprobe in 32/64 bit I'm
almost sure the X86_32 version should be
... + sizeof(kprobe_opcode_t)
not
... * sizeof(kprobe_opcode_t)
Cheers,
Harvey
next prev parent reply other threads:[~2007-12-15 9:04 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-15 8:45 FInal kprobes rollup patches Harvey Harrison
2007-12-15 8:50 ` Ingo Molnar
2007-12-15 9:04 ` Harvey Harrison [this message]
2007-12-15 13:12 ` Ingo Molnar
2007-12-17 14:12 ` Srikar Dronamraju
2007-12-17 14:13 ` Masami Hiramatsu
2007-12-17 14:30 ` Final " Ingo Molnar
2007-12-17 15:29 ` Masami Hiramatsu
2007-12-17 16:06 ` Ingo Molnar
2007-12-17 16:19 ` Masami Hiramatsu
2007-12-17 20:17 ` Harvey Harrison
2007-12-17 14:22 ` FInal " Srikar Dronamraju
2007-12-17 19:20 ` Harvey Harrison
2007-12-17 21:28 ` Masami Hiramatsu
2007-12-17 21:36 ` Harvey Harrison
2007-12-17 21:52 ` Masami Hiramatsu
2007-12-17 22:00 ` Harvey Harrison
2007-12-17 23:14 ` Masami Hiramatsu
2007-12-17 23:27 ` Harvey Harrison
2007-12-17 23:56 ` Masami Hiramatsu
2007-12-18 0:27 ` Masami Hiramatsu
2007-12-18 2:15 ` Harvey Harrison
2007-12-18 3:10 ` [PATCH] x86: kprobes use stack_addr() macro Harvey Harrison
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=1197709442.898.97.camel@brick \
--to=harvey.harrison@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.