Re: [PATCH]acpi cpuidle: Fix kernel oops when tickless is not enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Um, the purpose of the ladder governor is to handle the legacy tickfull
case, and this patch defeats that.

Can you share the actual failure?

thanks,
Len Brown, Intel Open Source Technology Center

On Wed, 16 Dec 2009, Youquan,Song wrote:

> Current kernel, if tickless is disabled,cpuidle governor ladder is built in,
>  the kernel will boot oops on Boxboro-EX. 
> 
> After check in driver/cpuidle/Kconfig, menu governor built in kernel depends 
> on tickless,but ladder governor has no such dependency.
> 
> This patch add depnencey for ladder governor, so when tickless is disabled,
>  ladder governor will not be built in.
> 
> This is workround patch and the complete fix need be done at tickless. 
> 
> Signed-off-by: Youquan, Song <youquan.song@xxxxxxxxx>
> ---
> 
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
> index 7dbc4a8..78d6d74 100644
> --- a/drivers/cpuidle/Kconfig
> +++ b/drivers/cpuidle/Kconfig
> @@ -11,7 +11,7 @@ config CPU_IDLE
>  
>  config CPU_IDLE_GOV_LADDER
>  	bool
> -	depends on CPU_IDLE
> +	depends on CPU_IDLE && NO_HZ
>  	default y
>  
>  config CPU_IDLE_GOV_MENU
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux