All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Jan Beulich <JBeulich@suse.com>, Feng Wu <feng.wu@intel.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Kevin Tian <kevin.tian@intel.com>, Keir Fraser <keir@xen.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH v10 6/7] vmx: VT-d posted-interrupt core logic handling
Date: Wed, 20 Jan 2016 14:30:46 +0100	[thread overview]
Message-ID: <1453296646.3116.33.camel@citrix.com> (raw)
In-Reply-To: <569F7F1502000078000C9012@prv-mh.provo.novell.com>


[-- Attachment #1.1: Type: text/plain, Size: 1051 bytes --]

On Wed, 2016-01-20 at 04:35 -0700, Jan Beulich wrote:
> > > > On 20.01.16 at 12:20, <feng.wu@intel.com> wrote:
> > > 
> > > Then you didn't understand: The question isn't this path, but the
> > > path where the hook gets called if non-NULL (and hence the
> > > possibility to avoid such needless calls).
> > 
> > I understand you mean the overhead happens when the hooks
> > is called. My point is the hook is not called in a critical path,
> > so I doubt
> > whether it worth doing so to make the logic complex.
> 
> Are you sure scheduling code is not a critical path?
> 
TBH, I like Jan's point... It's always good to make all we can to avoid
calling the hook, if unnecessary.

Does it really complicates things a lot? Feng, can you give it a try?

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-01-20 13:30 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03  8:35 [PATCH v10 0/7] Add VT-d Posted-Interrupts support Feng Wu
2015-12-03  8:35 ` [PATCH v10 1/7] VT-d Posted-intterrupt (PI) design Feng Wu
2015-12-03  8:35 ` [PATCH v10 2/7] vmx: Suppress posting interrupts when 'SN' is set Feng Wu
2015-12-03  8:35 ` [PATCH v10 3/7] vt-d: Add API to update IRTE when VT-d PI is used Feng Wu
2015-12-10 10:52   ` Tian, Kevin
2015-12-03  8:35 ` [PATCH v10 4/7] Update IRTE according to guest interrupt config changes Feng Wu
2015-12-10 10:53   ` Tian, Kevin
2015-12-03  8:35 ` [PATCH v10 5/7] vmx: Properly handle notification event when vCPU is running Feng Wu
2015-12-03  8:35 ` [PATCH v10 6/7] vmx: VT-d posted-interrupt core logic handling Feng Wu
2015-12-10 11:40   ` Tian, Kevin
2015-12-11  1:58     ` Wu, Feng
2015-12-11  2:27       ` Tian, Kevin
2015-12-11  3:12         ` Wu, Feng
2015-12-21  6:43   ` Wu, Feng
2015-12-21  9:03     ` Dario Faggioli
2015-12-21  9:26       ` Wu, Feng
2015-12-23  2:21   ` Dario Faggioli
2015-12-23  2:28     ` Wu, Feng
2015-12-23  5:16       ` Tian, Kevin
2015-12-23  5:18         ` Wu, Feng
2015-12-23  4:58     ` Wu, Feng
2015-12-23 10:09       ` Jan Beulich
2016-01-18  1:20         ` Wu, Feng
2016-01-18  8:40           ` Jan Beulich
2016-01-18  8:45             ` Wu, Feng
2016-01-18  9:03               ` Jan Beulich
2016-01-19  8:48                 ` Wu, Feng
2016-01-18 15:14   ` Jan Beulich
2016-01-20  7:49     ` Wu, Feng
2016-01-20  8:35       ` Jan Beulich
2016-01-20 11:12         ` Dario Faggioli
2016-01-20 11:18           ` Wu, Feng
2016-01-20 11:20         ` Wu, Feng
2016-01-20 11:35           ` Jan Beulich
2016-01-20 13:30             ` Dario Faggioli [this message]
2016-01-20 13:42               ` Wu, Feng
2016-01-25  5:26               ` Wu, Feng
2016-01-25 13:59                 ` Jan Beulich
2016-01-20 13:48             ` Wu, Feng
2016-01-20 14:03               ` Jan Beulich
2016-01-21  9:05     ` Wu, Feng
2016-01-21 10:34       ` Jan Beulich
2015-12-03  8:35 ` [PATCH v10 7/7] Add a command line parameter for VT-d posted-interrupts Feng Wu
2015-12-03 11:19 ` [PATCH v10 0/7] Add VT-d Posted-Interrupts support Jan Beulich
2015-12-03 13:54   ` Wu, Feng
2015-12-10 10:48 ` Tian, Kevin
2015-12-10 13:40   ` Wu, Feng

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=1453296646.3116.33.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=feng.wu@intel.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=keir@xen.org \
    --cc=kevin.tian@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.