mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Liu, Jinsong" <jinsong.liu@intel.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: "keir.xen@gmail.com" <keir.xen@gmail.com>,
	"Li, Shaohua" <shaohua.li@intel.com>,
	xen-devel <xen-devel@lists.xen.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Kerneldevelopment list <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 1/3] PAD helper for native and paravirt platform
Date: Fri, 17 Feb 2012 17:59:56 +0000	[thread overview]
Message-ID: <DE8DF0795D48FD4CA783C40EC829233509F044@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <4F3E345802000078000739B2@nat28.tlf.novell.com>

>> 
>> +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.

Thanks,
Jinsong

  reply	other threads:[~2012-02-17 18:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17  8:56 Liu, Jinsong
2012-02-17 10:04 ` Jan Beulich
2012-02-17 17:59   ` Liu, Jinsong [this message]
2012-02-17 19:06     ` Konrad Rzeszutek Wilk
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-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-26  2:50   ` 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=DE8DF0795D48FD4CA783C40EC829233509F044@SHSMSX101.ccr.corp.intel.com \
    --to=jinsong.liu@intel.com \
    --cc=JBeulich@suse.com \
    --cc=keir.xen@gmail.com \
    --cc=konrad.wilk@oracle.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 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®