Hi,

--- On Mon, 3/30/09, rohit verma <[email protected]> wrote:

> From: rohit verma <[email protected]>
> Subject: [LTP] Regarding ht_enable test case failure
> To: [email protected]
> Date: Monday, March 30, 2009, 9:10 PM
> O/P:
> 
> 
> ht_enable    0  INFO  : 
> Begin: HyperThreading Enabled 
> ht_enable    0  INFO  :  The kernel boot paramter
> 'noht' is not set. 
> 
> ht_enable    1  FAIL  :  HT feature is not included
> in this Linux Kernel.
> ht_enable    0  INFO  :  End: HyperThreading Enabled
>
> 
>  
> 
> but noht is for
> disabling 
> hyperthreading.
> 
> 
> 
> Function
> is_ht_kernel (file: 
> testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c) checks for
> string cpu_package in /proc/cpuinfo  
> . 
> 
> 
>  but
> cpu_package string 
>  information  does not exist in  /proc/cpuinfo for
> 2.6.29 kernel
>

>From the page,

https://lists.linux-foundation.org/pipermail/cgl_discussion/2002-October/002632.html

looks like cpu_package has been added in 2.4.x kernel by HT patches.
Has this field been removed later? I can't see it with 2.6.18 kernel.

I have copied the author of those tests - Sonic Zhang to see if he has any
insight of it.

Anyway, this piece of code seems check if the kernel has HT support or not.
I am not sure if we'll still need it, because HT support has been added
to kernel many years ago.

CAI Qian
 
> 
> 
> 
> Regards,
> Rohit
> 
> -----Inline Attachment Follows-----
> 
> ------------------------------------------------------------------------------
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to