All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] vpmu: Is CONFIG_SMP used anymore?
  2012-02-08 13:14 [PATCH] vpmu: Is CONFIG_SMP used anymore? Dietmar Hahn
@ 2012-02-08  5:57 ` Keir Fraser
  2012-02-08 14:05   ` Andrew Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2012-02-08  5:57 UTC (permalink / raw)
  To: Dietmar Hahn, xen-devel

On 08/02/2012 13:14, "Dietmar Hahn" <dietmar.hahn@ts.fujitsu.com> wrote:

> Hi,
> 
> while locking at the vpmu stuff I found the following stuff:
> 
> diff -r a55e0f9c7b4e xen/arch/x86/oprofile/nmi_int.c
> --- a/xen/arch/x86/oprofile/nmi_int.c Wed Feb 08 12:28:47 2012 +0100
> +++ b/xen/arch/x86/oprofile/nmi_int.c Wed Feb 08 14:11:06 2012 +0100
> @@ -305,7 +305,7 @@ static int __init p4_init(char ** cpu_ty
> }
>  
>  #ifndef CONFIG_SMP
> - *cpu_type = "i386/p4", XENOPROF_CPU_TYPE_SIZE);
> + *cpu_type = "i386/p4";
> model = &op_p4_spec;
> return 1;
>  #else
> 
> 
> Is CONFIG_SMP always switched on? It seems nobody tested without CONFIG_SMP.

Correct. !CONFIG_SMP isn't configurable or supported.

 -- Keir

> Thanks.
> 
> Dietmar.
> 

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

* Re: [PATCH] vpmu: Is CONFIG_SMP used anymore?
  2012-02-08 14:05   ` Andrew Cooper
@ 2012-02-08  6:09     ` Keir Fraser
  0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2012-02-08  6:09 UTC (permalink / raw)
  To: Andrew Cooper; +Cc: xen-devel, Dietmar Hahn

On 08/02/2012 14:05, "Andrew Cooper" <andrew.cooper3@citrix.com> wrote:

>>> Is CONFIG_SMP always switched on? It seems nobody tested without CONFIG_SMP.
>> Correct. !CONFIG_SMP isn't configurable or supported.
>> 
>>  -- Keir
> 
> A naive test:
> 
> andrewcoop@andrewcoop:/local/xen-unstable.hg/xen$ rgrep "CONFIG_SMP" * |
> wc -l
> 166
> 
> Seems there are quite a few bits to remove.  If noone has done so, when
> I get round to gutting #ifdef __ia64__'s from the arch/x86 tree I shall
> do the same with CONFIG_SMP.

Yeah we never actually went and deleted the !CONFIG_SMP bits we inherited
from Linux. You can feel free to clean it up afaic.

 -- Keir

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

* [PATCH] vpmu: Is CONFIG_SMP used anymore?
@ 2012-02-08 13:14 Dietmar Hahn
  2012-02-08  5:57 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Dietmar Hahn @ 2012-02-08 13:14 UTC (permalink / raw)
  To: xen-devel

Hi,

while locking at the vpmu stuff I found the following stuff:

diff -r a55e0f9c7b4e xen/arch/x86/oprofile/nmi_int.c
--- a/xen/arch/x86/oprofile/nmi_int.c	Wed Feb 08 12:28:47 2012 +0100
+++ b/xen/arch/x86/oprofile/nmi_int.c	Wed Feb 08 14:11:06 2012 +0100
@@ -305,7 +305,7 @@ static int __init p4_init(char ** cpu_ty
 	}
 
 #ifndef CONFIG_SMP
-	*cpu_type = "i386/p4", XENOPROF_CPU_TYPE_SIZE);
+	*cpu_type = "i386/p4";
 	model = &op_p4_spec;
 	return 1;
 #else


Is CONFIG_SMP always switched on? It seems nobody tested without CONFIG_SMP.
Thanks.

Dietmar.


-- 
Company details: http://ts.fujitsu.com/imprint.html

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

* Re: [PATCH] vpmu: Is CONFIG_SMP used anymore?
  2012-02-08  5:57 ` Keir Fraser
@ 2012-02-08 14:05   ` Andrew Cooper
  2012-02-08  6:09     ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cooper @ 2012-02-08 14:05 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel, Dietmar Hahn

On 08/02/12 05:57, Keir Fraser wrote:
> On 08/02/2012 13:14, "Dietmar Hahn" <dietmar.hahn@ts.fujitsu.com> wrote:
>
>> Hi,
>>
>> while locking at the vpmu stuff I found the following stuff:
>>
>> diff -r a55e0f9c7b4e xen/arch/x86/oprofile/nmi_int.c
>> --- a/xen/arch/x86/oprofile/nmi_int.c Wed Feb 08 12:28:47 2012 +0100
>> +++ b/xen/arch/x86/oprofile/nmi_int.c Wed Feb 08 14:11:06 2012 +0100
>> @@ -305,7 +305,7 @@ static int __init p4_init(char ** cpu_ty
>> }
>>  
>>  #ifndef CONFIG_SMP
>> - *cpu_type = "i386/p4", XENOPROF_CPU_TYPE_SIZE);
>> + *cpu_type = "i386/p4";
>> model = &op_p4_spec;
>> return 1;
>>  #else
>>
>>
>> Is CONFIG_SMP always switched on? It seems nobody tested without CONFIG_SMP.
> Correct. !CONFIG_SMP isn't configurable or supported.
>
>  -- Keir

A naive test:

andrewcoop@andrewcoop:/local/xen-unstable.hg/xen$ rgrep "CONFIG_SMP" * |
wc -l
166

Seems there are quite a few bits to remove.  If noone has done so, when
I get round to gutting #ifdef __ia64__'s from the arch/x86 tree I shall
do the same with CONFIG_SMP.

~Andrew

>> Thanks.
>>
>> Dietmar.
>>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

-- 
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

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

end of thread, other threads:[~2012-02-08 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08 13:14 [PATCH] vpmu: Is CONFIG_SMP used anymore? Dietmar Hahn
2012-02-08  5:57 ` Keir Fraser
2012-02-08 14:05   ` Andrew Cooper
2012-02-08  6:09     ` 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.