From: Oskar Andero <oskar.andero@sonymobile.com>
To: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"anil.s.keshavamurthy@intel.com" <anil.s.keshavamurthy@intel.com>,
"ananth@in.ibm.com" <ananth@in.ibm.com>,
"Lekanovic, Radovan" <Radovan.Lekanovic@sonymobile.com>,
"Davidsson, Björn" <Bjorn.Davidsson@sonymobile.com>,
"yrl.pp-manager.tt@hitachi.com" <yrl.pp-manager.tt@hitachi.com>
Subject: Re: [PATCH 2/4] kprobes: split blacklist into common and arch
Date: Thu, 4 Apr 2013 13:49:48 +0200 [thread overview]
Message-ID: <20130404114948.GD2481@caracas.corpusers.net> (raw)
In-Reply-To: <515D1AF5.3010900@hitachi.com>
On 08:17 Thu 04 Apr , Masami Hiramatsu wrote:
> (2013/04/03 17:28), oskar.andero@sonymobile.com wrote:
> > Some blackpoints are only valid for specific architectures. To let each
> > architecture specify its own blackpoints the list has been split in two
> > lists: common and arch. The common list is kept in kernel/kprobes.c and
> > the arch list is kept in the arch/ directory.
>
> Hmm, I think you'd better merge this with patch 3/4.
IMHO I think it's more logical to keep them separated instead of
squashing a generic patch with an architecture specific patch.
Also, there is the matter of authorship and credits.
Of course, it's your call, so let me know if this is ok with you.
> [...]
> > +static const size_t common_kprobes_blacksyms_size =
> > + ARRAY_SIZE(common_kprobes_blacksyms);
> > +
> > +extern const char * const arch_kprobes_blacksyms[];
> > +extern const size_t arch_kprobes_blacksyms_size;
> > +
> > +static struct kprobe_blackpoint **kprobe_blacklist;
> > +static size_t kprobe_blacklist_size;
>
> Since the blacklist is allocated once and never be updated,
> we just need an array of struct kprobe_blackpoint, no need
> to allocate each entry.
Right. I'll change that.
Thanks!
-Oskar
next prev parent reply other threads:[~2013-04-04 11:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 8:28 [PATCH 0/4] " oskar.andero
2013-04-03 8:28 ` [PATCH 1/4] kprobes: delay blacklist symbol lookup until we actually need it oskar.andero
2013-04-04 6:44 ` Masami Hiramatsu
2013-04-04 7:57 ` Oskar Andero
2013-04-03 8:28 ` [PATCH 2/4] kprobes: split blacklist into common and arch oskar.andero
2013-04-04 6:17 ` Masami Hiramatsu
2013-04-04 11:49 ` Oskar Andero [this message]
2013-04-03 8:28 ` [PATCH 3/4] kprobes: move x86-specific blacklist symbols to arch directory oskar.andero
2013-04-03 8:28 ` [PATCH 4/4] kprobes: replace printk with pr_-functions oskar.andero
2013-04-04 6:19 ` Masami Hiramatsu
2013-04-04 11:32 ` [PATCH 0/4] kprobes: split blacklist into common and arch Vineet Gupta
2013-04-04 11:41 ` Oskar Andero
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=20130404114948.GD2481@caracas.corpusers.net \
--to=oskar.andero@sonymobile.com \
--cc=Bjorn.Davidsson@sonymobile.com \
--cc=Radovan.Lekanovic@sonymobile.com \
--cc=ananth@in.ibm.com \
--cc=anil.s.keshavamurthy@intel.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=yrl.pp-manager.tt@hitachi.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®