Revert "[PORT FROM R2] nohz: delay going tickless under CPU load to favor deeper...
authorTeerth Reddy <teerth.reddy@intel.com>
Mon, 27 Feb 2012 09:45:23 +0000 (15:15 +0530)
committerbuildbot <buildbot@intel.com>
Tue, 28 Feb 2012 14:41:08 +0000 (06:41 -0800)
BZ: 24528

This reverts commit 626a1d4cae9a91a07113f8d02d4ac2a7f3d95151.

This patch is causing 7mW of LPMP3 regression.
Hence need revert, proper root cause and fix need to be provided
later for an inclusion of this patch.

Change-Id: Ifdc3702fb7578a767232ffda5bc4d212174c7cdb
Signed-off-by: Teerth Reddy <teerth.reddy@intel.com>
Reviewed-on: http://android.intel.com:8080/36704
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Veera, Bharath K <bharath.k.veera@intel.com>
Reviewed-by: Chotard, Celine <celine.chotard@intel.com>
Tested-by: Chotard, Celine <celine.chotard@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
kernel/time/tick-sched.c

index d5ccda4..d5097c4 100644 (file)
@@ -324,7 +324,7 @@ void tick_nohz_stop_sched_tick(int inidle)
        } while (read_seqretry(&xtime_lock, seq));
 
        if (rcu_needs_cpu(cpu) || printk_needs_cpu(cpu) ||
-           arch_needs_cpu(cpu) || this_cpu_load())  {
+           arch_needs_cpu(cpu)) {
                next_jiffies = last_jiffies + 1;
                delta_jiffies = 1;
        } else {