All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add hypercall interface for cpu online/offline
@ 2008-09-22  8:45 Shan, Haitao
  2008-09-22  8:48 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Shan, Haitao @ 2008-09-22  8:45 UTC (permalink / raw)
  To: 'Keir Fraser'; +Cc: 'xen-devel@lists.xensource.com'

Hi, Keir,

These two little patches will add a hypercall interface for cpu online/offline.
Currently, I add it to Xen platform ops hypercall. I am not sure whether it is the proper place to hold this. So, any comments or preference from you? Thanks.

Best Regards
Haitao Shan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Add hypercall interface for cpu online/offline
  2008-09-22  8:45 [PATCH 0/2] Add hypercall interface for cpu online/offline Shan, Haitao
@ 2008-09-22  8:48 ` Keir Fraser
  2008-09-22  9:34   ` Christoph Egger
  0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2008-09-22  8:48 UTC (permalink / raw)
  To: Shan, Haitao; +Cc: 'xen-devel@lists.xensource.com'

Should be a sysctl. platform_ops are for things we want controlled by,
typically, dom0 kernel. This will be controlled from tools.

 -- Keir

On 22/9/08 09:45, "Shan, Haitao" <haitao.shan@intel.com> wrote:

> Hi, Keir,
> 
> These two little patches will add a hypercall interface for cpu
> online/offline.
> Currently, I add it to Xen platform ops hypercall. I am not sure whether it is
> the proper place to hold this. So, any comments or preference from you?
> Thanks.
> 
> Best Regards
> Haitao Shan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: [PATCH 0/2] Add hypercall interface for cpu online/offline
  2008-09-22  8:48 ` Keir Fraser
@ 2008-09-22  9:34   ` Christoph Egger
  2008-09-22  9:43     ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Egger @ 2008-09-22  9:34 UTC (permalink / raw)
  To: xen-devel; +Cc: Shan, Haitao, Keir Fraser


Please rename offline to poweroff and use offline for
de-coupling the physical CPU from the Xen scheduler only.
This is useful for machine check handling.

Christoph


On Monday 22 September 2008 10:48:17 Keir Fraser wrote:
> Should be a sysctl. platform_ops are for things we want controlled by,
> typically, dom0 kernel. This will be controlled from tools.
>
>  -- Keir
>
> On 22/9/08 09:45, "Shan, Haitao" <haitao.shan@intel.com> wrote:
> > Hi, Keir,
> >
> > These two little patches will add a hypercall interface for cpu
> > online/offline.
> > Currently, I add it to Xen platform ops hypercall. I am not sure whether
> > it is the proper place to hold this. So, any comments or preference from
> > you? Thanks.



-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: [PATCH 0/2] Add hypercall interface for cpu online/offline
  2008-09-22  9:34   ` Christoph Egger
@ 2008-09-22  9:43     ` Keir Fraser
  0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2008-09-22  9:43 UTC (permalink / raw)
  To: Christoph Egger, xen-devel; +Cc: Shan, Haitao

online/offline is the usual terminology for CPU hotplug. If we need a
separate operation to merely stop scheduling on that pCPU (which isn't
immediately apparent to me) then we'll come up with a name for it.

 -- Keir

On 22/9/08 10:34, "Christoph Egger" <Christoph.Egger@amd.com> wrote:

> 
> Please rename offline to poweroff and use offline for
> de-coupling the physical CPU from the Xen scheduler only.
> This is useful for machine check handling.
> 
> Christoph
> 
> 
> On Monday 22 September 2008 10:48:17 Keir Fraser wrote:
>> Should be a sysctl. platform_ops are for things we want controlled by,
>> typically, dom0 kernel. This will be controlled from tools.
>> 
>>  -- Keir
>> 
>> On 22/9/08 09:45, "Shan, Haitao" <haitao.shan@intel.com> wrote:
>>> Hi, Keir,
>>> 
>>> These two little patches will add a hypercall interface for cpu
>>> online/offline.
>>> Currently, I add it to Xen platform ops hypercall. I am not sure whether
>>> it is the proper place to hold this. So, any comments or preference from
>>> you? Thanks.
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-22  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22  8:45 [PATCH 0/2] Add hypercall interface for cpu online/offline Shan, Haitao
2008-09-22  8:48 ` Keir Fraser
2008-09-22  9:34   ` Christoph Egger
2008-09-22  9:43     ` Keir Fraser

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.