diff for duplicates of <4F6483BA.8050103@ti.com> diff --git a/a/1.txt b/N1/1.txt index 91c6169..3180686 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -188,3 +188,14 @@ CPUIDLE_COUPLED_NOT_IDLE; <upled-Fix-the-alive_count-based-on-CPU-onl.patch" 45L, 1387C 1,1 Top + + + + +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: 0001-cpuidle-coupled-Fix-the-alive_count-based-on-CPU-onl.patch +Type: text/x-patch +Size: 1388 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120317/4ef98221/attachment.bin> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index a772216..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,6 +0,0 @@ -Content-Type: text/x-patch; - name="0001-cpuidle-coupled-Fix-the-alive_count-based-on-CPU-onl.patch" -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; - filename*0="0001-cpuidle-coupled-Fix-the-alive_count-based-on-CPU-onl.pa"; - filename*1="tch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index eeb7541..0000000 --- a/a/2.txt +++ /dev/null @@ -1,44 +0,0 @@ ->From 189e5862ea4f983313cbf6abb7aabab670267c83 Mon Sep 17 00:00:00 2001 -From: Santosh Shilimkar <santosh.shilimkar@ti.com> -Date: Sat, 17 Mar 2012 17:46:50 +0530 -Subject: [PATCH] cpuidle: coupled: Fix the alive_count based on CPU online/offline. - -Currently the alive_count is ever incrementing which will lead to -coupled idle state not being attempted after one CPU offline -attempt. - -Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> ---- - drivers/cpuidle/coupled.c | 14 +++++++++----- - 1 files changed, 9 insertions(+), 5 deletions(-) - -diff --git a/drivers/cpuidle/coupled.c b/drivers/cpuidle/coupled.c -index 3bc8a02..708bcfe 100644 ---- a/drivers/cpuidle/coupled.c -+++ b/drivers/cpuidle/coupled.c -@@ -595,14 +595,18 @@ static void cpuidle_coupled_cpu_set_alive(int cpu, bool alive) - while (atomic_read(&coupled->ready_count)) - cpu_relax(); - -- smp_mb__before_atomic_inc(); -- atomic_inc(&coupled->alive_count); -- smp_mb__after_atomic_inc(); - -- if (alive) -+ if (alive) { -+ smp_mb__before_atomic_inc(); -+ atomic_inc(&coupled->alive_count); -+ smp_mb__after_atomic_inc(); - coupled->requested_state[dev->cpu] = CPUIDLE_COUPLED_NOT_IDLE; -- else -+ } else { -+ smp_mb__before_atomic_inc(); -+ atomic_dec(&coupled->alive_count); -+ smp_mb__after_atomic_inc(); - coupled->requested_state[dev->cpu] = CPUIDLE_COUPLED_DEAD; -+ } - - out: - mutex_unlock(&cpuidle_lock); --- -1.7.4.1 diff --git a/a/3.hdr b/a/3.hdr deleted file mode 100644 index 4b86001..0000000 --- a/a/3.hdr +++ /dev/null @@ -1,4 +0,0 @@ -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: inline diff --git a/a/3.txt b/a/3.txt deleted file mode 100644 index 8b13789..0000000 --- a/a/3.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/a/content_digest b/N1/content_digest index 27a38f9..86df1f7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,19 +1,10 @@ "ref\01331749794-8056-1-git-send-email-ccross@android.com\0" "ref\01331749794-8056-4-git-send-email-ccross@android.com\0" - "From\0Santosh Shilimkar <santosh.shilimkar@ti.com>\0" - "Subject\0Re: [PATCHv2 3/5] cpuidle: add support for states that affect multiple cpus\0" + "From\0santosh.shilimkar@ti.com (Santosh Shilimkar)\0" + "Subject\0[PATCHv2 3/5] cpuidle: add support for states that affect multiple cpus\0" "Date\0Sat, 17 Mar 2012 17:59:46 +0530\0" - "To\0Colin Cross <ccross@android.com>\0" - "Cc\0Kevin Hilman <khilman@ti.com>" - Len Brown <len.brown@intel.com> - Kay Sievers <kay.sievers@vrfy.org> - Greg Kroah-Hartman <gregkh@suse.de> - linux-kernel@vger.kernel.org - Amit Kucheria <amit.kucheria@linaro.org> - linux-pm@lists.linux-foundation.org - Arjan van de Ven <arjan@linux.intel.com> - " linux-arm-kernel@lists.infradead.org\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "Colin,\n" "\n" @@ -204,55 +195,17 @@ "+ }\n" "\n" "<upled-Fix-the-alive_count-based-on-CPU-onl.patch\" 45L, 1387C 1,1\n" - Top - "\01:2\0" - "fn\00001-cpuidle-coupled-Fix-the-alive_count-based-on-CPU-onl.patch\0" - "b\0" - ">From 189e5862ea4f983313cbf6abb7aabab670267c83 Mon Sep 17 00:00:00 2001\n" - "From: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "Date: Sat, 17 Mar 2012 17:46:50 +0530\n" - "Subject: [PATCH] cpuidle: coupled: Fix the alive_count based on CPU online/offline.\n" + " Top\n" "\n" - "Currently the alive_count is ever incrementing which will lead to\n" - "coupled idle state not being attempted after one CPU offline\n" - "attempt.\n" "\n" - "Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "---\n" - " drivers/cpuidle/coupled.c | 14 +++++++++-----\n" - " 1 files changed, 9 insertions(+), 5 deletions(-)\n" "\n" - "diff --git a/drivers/cpuidle/coupled.c b/drivers/cpuidle/coupled.c\n" - "index 3bc8a02..708bcfe 100644\n" - "--- a/drivers/cpuidle/coupled.c\n" - "+++ b/drivers/cpuidle/coupled.c\n" - "@@ -595,14 +595,18 @@ static void cpuidle_coupled_cpu_set_alive(int cpu, bool alive)\n" - " \twhile (atomic_read(&coupled->ready_count))\n" - " \t\tcpu_relax();\n" - " \n" - "-\tsmp_mb__before_atomic_inc();\n" - "-\tatomic_inc(&coupled->alive_count);\n" - "-\tsmp_mb__after_atomic_inc();\n" - " \n" - "-\tif (alive)\n" - "+\tif (alive) {\n" - "+\t\tsmp_mb__before_atomic_inc();\n" - "+\t\tatomic_inc(&coupled->alive_count);\n" - "+\t\tsmp_mb__after_atomic_inc();\n" - " \t\tcoupled->requested_state[dev->cpu] = CPUIDLE_COUPLED_NOT_IDLE;\n" - "-\telse\n" - "+\t} else {\n" - "+\t\tsmp_mb__before_atomic_inc();\n" - "+\t\tatomic_dec(&coupled->alive_count);\n" - "+\t\tsmp_mb__after_atomic_inc();\n" - " \t\tcoupled->requested_state[dev->cpu] = CPUIDLE_COUPLED_DEAD;\n" - "+\t}\n" - " \n" - " out:\n" - " \tmutex_unlock(&cpuidle_lock);\n" - "-- \n" - 1.7.4.1 - "\01:3\0" - "b\0" + "\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: 0001-cpuidle-coupled-Fix-the-alive_count-based-on-CPU-onl.patch\n" + "Type: text/x-patch\n" + "Size: 1388 bytes\n" + "Desc: not available\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120317/4ef98221/attachment.bin> -dee941c3401c874f5b1e9b119627b10c273e459a2bd426950528311ace2f868b +aca6a88c312c4bae3776a7969df713f73512095fed1749826a550f373e5c1df4
diff --git a/a/3.hdr b/a/3.hdr deleted file mode 100644 index 4b86001..0000000 --- a/a/3.hdr +++ /dev/null @@ -1,4 +0,0 @@ -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: inline diff --git a/a/3.txt b/a/3.txt deleted file mode 100644 index 8b13789..0000000 --- a/a/3.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/a/content_digest b/N2/content_digest index 27a38f9..687f51b 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,15 +4,19 @@ "Subject\0Re: [PATCHv2 3/5] cpuidle: add support for states that affect multiple cpus\0" "Date\0Sat, 17 Mar 2012 17:59:46 +0530\0" "To\0Colin Cross <ccross@android.com>\0" - "Cc\0Kevin Hilman <khilman@ti.com>" + "Cc\0linux-kernel@vger.kernel.org" + linux-arm-kernel@lists.infradead.org + linux-pm@lists.linux-foundation.org + Kevin Hilman <khilman@ti.com> Len Brown <len.brown@intel.com> - Kay Sievers <kay.sievers@vrfy.org> + Trinabh Gupta <g.trinabh@gmail.com> + Arjan van de Ven <arjan@linux.intel.com> + Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Greg Kroah-Hartman <gregkh@suse.de> - linux-kernel@vger.kernel.org + Kay Sievers <kay.sievers@vrfy.org> + Daniel Lezcano <daniel.lezcano@linaro.org> Amit Kucheria <amit.kucheria@linaro.org> - linux-pm@lists.linux-foundation.org - Arjan van de Ven <arjan@linux.intel.com> - " linux-arm-kernel@lists.infradead.org\0" + " Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>\0" "\01:1\0" "b\0" "Colin,\n" @@ -252,7 +256,5 @@ " \tmutex_unlock(&cpuidle_lock);\n" "-- \n" 1.7.4.1 - "\01:3\0" - "b\0" -dee941c3401c874f5b1e9b119627b10c273e459a2bd426950528311ace2f868b +38652444ba54bc7eb14b4cc5373c894ae5de5685fd03332bfd99831eb07da195
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.