+ cpuidle-fix-the-menu-governor-to-boost-io-performance-fix.patch added to -mm tree

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

 



The patch titled
     cpuidle-fix-the-menu-governor-to-boost-io-performance-fix
has been added to the -mm tree.  Its filename is
     cpuidle-fix-the-menu-governor-to-boost-io-performance-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: cpuidle-fix-the-menu-governor-to-boost-io-performance-fix
From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>

Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Len Brown <lenb@xxxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx>
Cc: Yanmin Zhang <yanmin_zhang@xxxxxxxxxxxxxxx>
Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/sched.c |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff -puN kernel/sched.c~cpuidle-fix-the-menu-governor-to-boost-io-performance-fix kernel/sched.c
--- a/kernel/sched.c~cpuidle-fix-the-menu-governor-to-boost-io-performance-fix
+++ a/kernel/sched.c
@@ -2906,16 +2906,14 @@ unsigned long nr_iowait(void)
 
 unsigned long nr_iowait_cpu(void)
 {
-	int this_cpu = smp_processor_id();
-	struct rq *this_rq = cpu_rq(this_cpu);
-	return atomic_read(&this_rq->nr_iowait);
+	struct rq *this = this_rq();
+	return atomic_read(&this->nr_iowait);
 }
 
 unsigned long this_cpu_load(void)
 {
-	int this_cpu = smp_processor_id();
-	struct rq *this_rq = cpu_rq(this_cpu);
-	return this_rq->cpu_load[0];
+	struct rq *this = this_rq();
+	return this->cpu_load[0];
 }
 
 
_

Patches currently in -mm which might be from arjan@xxxxxxxxxxxxxxx are

origin.patch
linux-next.patch
cpuidle-fix-the-menu-governor-to-boost-io-performance.patch
cpuidle-fix-the-menu-governor-to-boost-io-performance-fix.patch
cpuidle-menu-governor-reduce-latency-on-exit.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux