From: Mark Brown Date: Fri, 30 Dec 2011 00:41:56 +0000 (+0900) Subject: ARM: S3C64XX: Reduce residency requirement for cpuidle WFI mode X-Git-Tag: firefly_0821_release~3680^2~3233^2~1^2~15 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=90ca2979ed9d69d8b1b729cb2e9d8e9874fad5f5;p=firefly-linux-kernel-4.4.55.git ARM: S3C64XX: Reduce residency requirement for cpuidle WFI mode Entering and leaving WFI is really cheap so there's no reason to have much of a residency requirement for the state. Lower it to 1ms. Signed-off-by: Mark Brown Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s3c64xx/cpuidle.c b/arch/arm/mach-s3c64xx/cpuidle.c index 625d2c7b4540..179460f38db7 100644 --- a/arch/arm/mach-s3c64xx/cpuidle.c +++ b/arch/arm/mach-s3c64xx/cpuidle.c @@ -55,7 +55,7 @@ static struct cpuidle_state s3c64xx_cpuidle_set[] = { [0] = { .enter = s3c64xx_enter_idle, .exit_latency = 1, - .target_residency = 100000, + .target_residency = 1, .flags = CPUIDLE_FLAG_TIME_VALID, .name = "IDLE", .desc = "System active, ARM gated",