[ 3.5.yuz extended stable ] Patch "Revert "sched: Add missing call to calc_load_exit_idle()"" has been added to staging queue

Herton Ronaldo Krzesinski herton.krzesinski at canonical.com
Mon Nov 26 16:04:39 UTC 2012


This is a note to let you know that I have just added a patch titled

    Revert "sched: Add missing call to calc_load_exit_idle()"

to the linux-3.5.y-queue branch of the 3.5.yuz extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.yuz tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Herton

------

>From 329a379bc96b9303068fbd995de6b51e074b02e1 Mon Sep 17 00:00:00 2001
From: Herton Ronaldo Krzesinski <herton.krzesinski at canonical.com>
Date: Fri, 23 Nov 2012 17:46:38 -0200
Subject: [PATCH] Revert "sched: Add missing call to calc_load_exit_idle()"

This reverts commit 900404e5d201d0a6d2806f615b41e939713d55db on 3.5,
which is commit 749c8814f08f12baa4a9c2812a7c6ede7d69507d upstream.

The change was originally intended to fix a mismerge in 3.6. The 3.5
stable branch was unaffected by the issue, as reported by Huacai Chen on
stable mailing list (on the thread 'Seems like "sched: Add missing call
to calc_load_exit_idle()" should be reverted in 3.5 branch').

As concluded by Peter Zijlstra:
"(...) You are right, v3.5.5 has one calc_load_exit_idle() too many, the
one in tick_nohz_update_jiffies() needs to go. (...)"

Cc: Huacai Chen <chenhc at lemote.com>
Cc: Peter Zijlstra <a.p.zijlstra at chello.nl>
Cc: Jonathan Nieder <jrnieder at gmail.com>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: Charles Wang <muming.wq at taobao.com>
Cc: Ingo Molnar <mingo at kernel.org>
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski at canonical.com>
---
 kernel/time/tick-sched.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index a057ed4..4a08472 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -145,7 +145,6 @@ static void tick_nohz_update_jiffies(ktime_t now)
 	tick_do_update_jiffies64(now);
 	local_irq_restore(flags);

-	calc_load_exit_idle();
 	touch_softlockup_watchdog();
 }

--
1.7.9.5





More information about the kernel-team mailing list