Re: [Xen-devel] [RFC v2 09/15] Add a new per-vCPU tasklet to wakeup the blocked vCPU

2015-06-12 Thread Wu, Feng


 -Original Message-
 From: Jan Beulich [mailto:jbeul...@suse.com]
 Sent: Tuesday, June 09, 2015 11:09 PM
 To: Wu, Feng
 Cc: andrew.coop...@citrix.com; george.dun...@eu.citrix.com; Tian, Kevin;
 Zhang, Yang Z; xen-devel@lists.xen.org; k...@xen.org
 Subject: Re: [RFC v2 09/15] Add a new per-vCPU tasklet to wakeup the blocked
 vCPU
 
  On 08.05.15 at 11:07, feng...@intel.com wrote:
  This patch adds a new per-vCPU tasklet to wakeup the blocked
  vCPU. It can be used in the case vcpu_unblock cannot be called
  directly. This tasklet will be used in later patch in this
  series.
 
  Signed-off-by: Feng Wu feng...@intel.com
  ---
   xen/common/domain.c | 11 +++
   xen/include/xen/sched.h |  3 +++
   2 files changed, 14 insertions(+)
 
 What is the rationale for doing this in common code, modifying
 common structures?
 

Do you mean moving this tasklet to the architecture specific structure, such 
as, struct arch_vcpu ?

Thanks,
Feng

 Jan


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


Re: [Xen-devel] [RFC v2 09/15] Add a new per-vCPU tasklet to wakeup the blocked vCPU

2015-06-12 Thread Jan Beulich
 On 12.06.15 at 11:40, feng...@intel.com wrote:
 From: Jan Beulich [mailto:jbeul...@suse.com]
 Sent: Tuesday, June 09, 2015 11:09 PM
  On 08.05.15 at 11:07, feng...@intel.com wrote:
  This patch adds a new per-vCPU tasklet to wakeup the blocked
  vCPU. It can be used in the case vcpu_unblock cannot be called
  directly. This tasklet will be used in later patch in this
  series.
 
  Signed-off-by: Feng Wu feng...@intel.com
  ---
   xen/common/domain.c | 11 +++
   xen/include/xen/sched.h |  3 +++
   2 files changed, 14 insertions(+)
 
 What is the rationale for doing this in common code, modifying
 common structures?
 
 
 Do you mean moving this tasklet to the architecture specific structure, such 
 as, struct arch_vcpu ?

Exactly.

Jan


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


Re: [Xen-devel] [RFC v2 09/15] Add a new per-vCPU tasklet to wakeup the blocked vCPU

2015-06-09 Thread Jan Beulich
 On 08.05.15 at 11:07, feng...@intel.com wrote:
 This patch adds a new per-vCPU tasklet to wakeup the blocked
 vCPU. It can be used in the case vcpu_unblock cannot be called
 directly. This tasklet will be used in later patch in this
 series.
 
 Signed-off-by: Feng Wu feng...@intel.com
 ---
  xen/common/domain.c | 11 +++
  xen/include/xen/sched.h |  3 +++
  2 files changed, 14 insertions(+)

What is the rationale for doing this in common code, modifying
common structures?

Jan


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