From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Liu, Jinsong" <jinsong.liu@intel.com>
Cc: Jan Beulich <JBeulich@suse.com>,
"keir.xen@gmail.com" <keir.xen@gmail.com>,
"Li, Shaohua" <shaohua.li@intel.com>,
xen-devel <xen-devel@lists.xen.org>,
Kerneldevelopment list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/3] PAD helper for native and paravirt platform
Date: Fri, 17 Feb 2012 14:06:31 -0500 [thread overview]
Message-ID: <20120217190631.GA20584@phenom.dumpdata.com> (raw)
In-Reply-To: <DE8DF0795D48FD4CA783C40EC829233509F044@SHSMSX101.ccr.corp.intel.com>
On Fri, Feb 17, 2012 at 05:59:56PM +0000, Liu, Jinsong wrote:
> >>
> >> +static inline int __acpi_pad_init(void)
> >> +{
> >> + return PVOP_CALL0(int, pv_pad_ops.acpi_pad_init); +}
> >> +
> >> +static inline void __acpi_pad_exit(void)
> >> +{
> >> + PVOP_VCALL0(pv_pad_ops.acpi_pad_exit);
> >> +}
> >
> > With this you, aiui, you aim at getting the calls patched. Are the
> > callers of this really on performance critical paths? If not, the
> > simpler approach of having an ops structure the fields of which get
> > overwritten by
> > Xen initialization would seem a more appropriate approach.
> >
>
> Yes, I agree. I code in this way just want to keep same coding style as other pv functions of paravirt.h.
> I update the patch w/ a simpler approach, and will post later.
> Of course, we need Konrad's comments.
The thing is that the paravirt approach also impacts lguests. While I don't
think your patch will affect it, it just doesn't seem like the right place.
It seems that a more general approach, like the x86 one would be appropiate.
Or since this is ACPI related - perhaps in the drivers/acpi/osl.c ? - That is
all "OS dependent functions" and seem proper?
next prev parent reply other threads:[~2012-02-17 19:09 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 8:56 [PATCH 1/3] PAD helper for native and paravirt platform Liu, Jinsong
2012-02-17 10:04 ` Jan Beulich
2012-02-17 17:59 ` Liu, Jinsong
2012-02-17 17:59 ` Liu, Jinsong
2012-02-17 19:06 ` Konrad Rzeszutek Wilk
2012-02-17 19:06 ` Konrad Rzeszutek Wilk [this message]
2012-02-17 10:04 ` Jan Beulich
2012-02-17 14:29 ` Konrad Rzeszutek Wilk
2012-02-17 14:47 ` [Xen-devel] " Konrad Rzeszutek Wilk
2012-02-19 12:14 ` Liu, Jinsong
2012-02-19 18:23 ` Konrad Rzeszutek Wilk
2012-02-21 5:49 ` Liu, Jinsong
2012-02-21 14:27 ` Konrad Rzeszutek Wilk
2012-02-21 14:27 ` Konrad Rzeszutek Wilk
2012-02-22 17:02 ` Liu, Jinsong
2012-02-22 17:02 ` Liu, Jinsong
2012-02-22 18:23 ` Konrad Rzeszutek Wilk
2012-02-23 13:26 ` Liu, Jinsong
2012-03-24 0:31 ` Konrad Rzeszutek Wilk
2012-03-24 0:31 ` Konrad Rzeszutek Wilk
2012-03-26 2:50 ` [Xen-devel] " Liu, Jinsong
2012-03-26 16:35 ` Konrad Rzeszutek Wilk
2012-03-28 10:48 ` Liu, Jinsong
2012-03-28 12:42 ` Jan Beulich
2012-03-28 14:27 ` Konrad Rzeszutek Wilk
2012-03-28 14:52 ` Jan Beulich
2012-03-28 14:29 ` Konrad Rzeszutek Wilk
2012-03-29 5:28 ` Liu, Jinsong
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=20120217190631.GA20584@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=JBeulich@suse.com \
--cc=jinsong.liu@intel.com \
--cc=keir.xen@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shaohua.li@intel.com \
--cc=xen-devel@lists.xen.org \
/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.