diff for duplicates of <1459410955-5422-3-git-send-email-jslaby@suse.cz>
diff --git a/a/1.txt b/N1/1.txt
index e6a16e6..ad712f9 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -87,7 +87,7 @@ index 2a61e4b04600..73085d3482ed 100644
* it is unsafe to use thread->cpu.
* THREAD_NOTIFY_EXIT
- * - the thread (v) will be running on the local CPU, so
-- * v == current_thread_info()
+- * v === current_thread_info()
- * - thread->cpu is the local CPU number at the time it is accessed,
- * but may change at any time.
* - we could be preempted if tree preempt rcu is enabled, so
@@ -133,7 +133,7 @@ index 9cd607b06964..2436ad5f92c1 100644
/*
-- * called only from exit_thread(): task = current
+- * called only from exit_thread(): task == current
- * we come here only if current has a context attached (loaded or masked)
+ * called only from exit_thread()
+ * we come here only if the task has a context attached (loaded or masked)
@@ -220,7 +220,7 @@ index 2bba7df4ac51..f8e79824e284 100644
+void exit_thread(struct task_struct *tsk)
{
- exit_thread_runtime_instr();
-+ if (tsk = current)
++ if (tsk == current)
+ exit_thread_runtime_instr();
}
@@ -242,8 +242,8 @@ index e2062e643341..bfd3855fe120 100644
* which it would get safely nulled.
*/
#ifdef CONFIG_SH_FPU
-- if (last_task_used_math = current) {
-+ if (last_task_used_math = tsk) {
+- if (last_task_used_math == current) {
++ if (last_task_used_math == tsk) {
last_task_used_math = NULL;
}
#endif
@@ -259,8 +259,8 @@ index c5113c7ce2fd..b7780a5bef11 100644
+void exit_thread(struct task_struct *tsk)
{
#ifndef CONFIG_SMP
-- if(last_task_used_math = current) {
-+ if (last_task_used_math = tsk) {
+- if(last_task_used_math == current) {
++ if (last_task_used_math == tsk) {
#else
- if (test_thread_flag(TIF_USEDFPU)) {
+ if (test_ti_thread_flag(task_thread_info(tsk), TIF_USEDFPU)) {
diff --git a/a/content_digest b/N1/content_digest
index 785009b..d4d9f0f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,10 +8,46 @@
"Subject\0[PATCH v2 3/4] exit_thread: accept a task parameter to be exited\0"
]
[
- "Date\0Thu, 31 Mar 2016 07:55:54 +0000\0"
+ "Date\0Thu, 31 Mar 2016 09:55:54 +0200\0"
]
[
- "To\0linux-arm-kernel\@lists.infradead.org\0"
+ "To\0akpm\@linux-foundation.org\0"
+]
+[
+ "Cc\0linux-kernel\@vger.kernel.org",
+ " Jiri Slaby <jslaby\@suse.cz>",
+ " Russell King <linux\@arm.linux.org.uk>",
+ " Haavard Skinnemoen <hskinnemoen\@gmail.com>",
+ " Hans-Christian Egtvedt <egtvedt\@samfundet.no>",
+ " Mikael Starvik <starvik\@axis.com>",
+ " Jesper Nilsson <jesper.nilsson\@axis.com>",
+ " Tony Luck <tony.luck\@intel.com>",
+ " Fenghua Yu <fenghua.yu\@intel.com>",
+ " James Hogan <james.hogan\@imgtec.com>",
+ " David Howells <dhowells\@redhat.com>",
+ " Koichi Yasutake <yasutake.koichi\@jp.panasonic.com>",
+ " Martin Schwidefsky <schwidefsky\@de.ibm.com>",
+ " Heiko Carstens <heiko.carstens\@de.ibm.com>",
+ " Yoshinori Sato <ysato\@users.sourceforge.jp>",
+ " Rich Felker <dalias\@libc.org>",
+ " David S. Miller <davem\@davemloft.net>",
+ " Chris Metcalf <cmetcalf\@mellanox.com>",
+ " Thomas Gleixner <tglx\@linutronix.de>",
+ " Ingo Molnar <mingo\@redhat.com>",
+ " H. Peter Anvin <hpa\@zytor.com>",
+ " x86\@kernel.org",
+ " Chris Zankel <chris\@zankel.net>",
+ " Max Filippov <jcmvbkbc\@gmail.com>",
+ " Peter Zijlstra <peterz\@infradead.org>",
+ " linux-arm-kernel\@lists.infradead.org",
+ " linux-cris-kernel\@axis.com",
+ " linux-ia64\@vger.kernel.org",
+ " linux-metag\@vger.kernel.org",
+ " linux-am33-list\@redhat.com",
+ " linux-s390\@vger.kernel.org",
+ " linux-sh\@vger.kernel.org",
+ " sparclinux\@vger.kernel.org",
+ " linux-xtensa\@linux-xtensa.org\0"
]
[
"\0000:1\0"
@@ -109,7 +145,7 @@
" *\tit is unsafe to use thread->cpu.\n",
" * THREAD_NOTIFY_EXIT\n",
"- * - the thread (v) will be running on the local CPU, so\n",
- "- *\tv == current_thread_info()\n",
+ "- *\tv === current_thread_info()\n",
"- * - thread->cpu is the local CPU number at the time it is accessed,\n",
"- *\tbut may change at any time.\n",
" * - we could be preempted if tree preempt rcu is enabled, so\n",
@@ -155,7 +191,7 @@
" \n",
" \n",
" /*\n",
- "- * called only from exit_thread(): task = current\n",
+ "- * called only from exit_thread(): task == current\n",
"- * we come here only if current has a context attached (loaded or masked)\n",
"+ * called only from exit_thread()\n",
"+ * we come here only if the task has a context attached (loaded or masked)\n",
@@ -242,7 +278,7 @@
"+void exit_thread(struct task_struct *tsk)\n",
" {\n",
"-\texit_thread_runtime_instr();\n",
- "+\tif (tsk = current)\n",
+ "+\tif (tsk == current)\n",
"+\t\texit_thread_runtime_instr();\n",
" }\n",
" \n",
@@ -264,8 +300,8 @@
" \t * which it would get safely nulled.\n",
" \t */\n",
" #ifdef CONFIG_SH_FPU\n",
- "-\tif (last_task_used_math = current) {\n",
- "+\tif (last_task_used_math = tsk) {\n",
+ "-\tif (last_task_used_math == current) {\n",
+ "+\tif (last_task_used_math == tsk) {\n",
" \t\tlast_task_used_math = NULL;\n",
" \t}\n",
" #endif\n",
@@ -281,8 +317,8 @@
"+void exit_thread(struct task_struct *tsk)\n",
" {\n",
" #ifndef CONFIG_SMP\n",
- "-\tif(last_task_used_math = current) {\n",
- "+\tif (last_task_used_math = tsk) {\n",
+ "-\tif(last_task_used_math == current) {\n",
+ "+\tif (last_task_used_math == tsk) {\n",
" #else\n",
"-\tif (test_thread_flag(TIF_USEDFPU)) {\n",
"+\tif (test_ti_thread_flag(task_thread_info(tsk), TIF_USEDFPU)) {\n",
@@ -406,4 +442,4 @@
"2.7.4"
]
-c7b594427e210dde0714ac75ce91db86387a738bd00c24a2cab2332c1f0ae4f2
+72e49266348e6369cff8f88afaca10ed59c7cffef8012fe3a2848648d96e6243
diff --git a/a/1.txt b/N2/1.txt
index e6a16e6..8c30eb3 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -28,20 +28,20 @@ Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
-Cc: x86@kernel.org
+Cc: x86 at kernel.org
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
-Cc: linux-arm-kernel@lists.infradead.org
-Cc: linux-kernel@vger.kernel.org
-Cc: linux-cris-kernel@axis.com
-Cc: linux-ia64@vger.kernel.org
-Cc: linux-metag@vger.kernel.org
-Cc: linux-am33-list@redhat.com
-Cc: linux-s390@vger.kernel.org
-Cc: linux-sh@vger.kernel.org
-Cc: sparclinux@vger.kernel.org
-Cc: linux-xtensa@linux-xtensa.org
+Cc: linux-arm-kernel at lists.infradead.org
+Cc: linux-kernel at vger.kernel.org
+Cc: linux-cris-kernel at axis.com
+Cc: linux-ia64 at vger.kernel.org
+Cc: linux-metag at vger.kernel.org
+Cc: linux-am33-list at redhat.com
+Cc: linux-s390 at vger.kernel.org
+Cc: linux-sh at vger.kernel.org
+Cc: sparclinux at vger.kernel.org
+Cc: linux-xtensa at linux-xtensa.org
---
arch/arm/kernel/process.c | 4 ++--
arch/arm/vfp/vfpmodule.c | 4 ----
@@ -87,7 +87,7 @@ index 2a61e4b04600..73085d3482ed 100644
* it is unsafe to use thread->cpu.
* THREAD_NOTIFY_EXIT
- * - the thread (v) will be running on the local CPU, so
-- * v == current_thread_info()
+- * v === current_thread_info()
- * - thread->cpu is the local CPU number at the time it is accessed,
- * but may change at any time.
* - we could be preempted if tree preempt rcu is enabled, so
@@ -133,7 +133,7 @@ index 9cd607b06964..2436ad5f92c1 100644
/*
-- * called only from exit_thread(): task = current
+- * called only from exit_thread(): task == current
- * we come here only if current has a context attached (loaded or masked)
+ * called only from exit_thread()
+ * we come here only if the task has a context attached (loaded or masked)
@@ -220,7 +220,7 @@ index 2bba7df4ac51..f8e79824e284 100644
+void exit_thread(struct task_struct *tsk)
{
- exit_thread_runtime_instr();
-+ if (tsk = current)
++ if (tsk == current)
+ exit_thread_runtime_instr();
}
@@ -242,8 +242,8 @@ index e2062e643341..bfd3855fe120 100644
* which it would get safely nulled.
*/
#ifdef CONFIG_SH_FPU
-- if (last_task_used_math = current) {
-+ if (last_task_used_math = tsk) {
+- if (last_task_used_math == current) {
++ if (last_task_used_math == tsk) {
last_task_used_math = NULL;
}
#endif
@@ -259,8 +259,8 @@ index c5113c7ce2fd..b7780a5bef11 100644
+void exit_thread(struct task_struct *tsk)
{
#ifndef CONFIG_SMP
-- if(last_task_used_math = current) {
-+ if (last_task_used_math = tsk) {
+- if(last_task_used_math == current) {
++ if (last_task_used_math == tsk) {
#else
- if (test_thread_flag(TIF_USEDFPU)) {
+ if (test_ti_thread_flag(task_thread_info(tsk), TIF_USEDFPU)) {
@@ -310,7 +310,7 @@ index b5f30d376ce1..6b705ccc9cc1 100644
/*
@@ -550,7 +550,7 @@ void exit_thread(void)
* the last reference to a hardwall fd, it would already have
- * been released and deactivated at this point.)
+ * been released and deactivated@this point.)
*/
- hardwall_deactivate_all(current);
+ hardwall_deactivate_all(tsk);
diff --git a/a/content_digest b/N2/content_digest
index 785009b..59d27e9 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -2,13 +2,13 @@
"ref\0001459410955-5422-1-git-send-email-jslaby\@suse.cz\0"
]
[
- "From\0Jiri Slaby <jslaby\@suse.cz>\0"
+ "From\0jslaby\@suse.cz (Jiri Slaby)\0"
]
[
"Subject\0[PATCH v2 3/4] exit_thread: accept a task parameter to be exited\0"
]
[
- "Date\0Thu, 31 Mar 2016 07:55:54 +0000\0"
+ "Date\0Thu, 31 Mar 2016 09:55:54 +0200\0"
]
[
"To\0linux-arm-kernel\@lists.infradead.org\0"
@@ -50,20 +50,20 @@
"Cc: Thomas Gleixner <tglx\@linutronix.de>\n",
"Cc: Ingo Molnar <mingo\@redhat.com>\n",
"Cc: \"H. Peter Anvin\" <hpa\@zytor.com>\n",
- "Cc: x86\@kernel.org\n",
+ "Cc: x86 at kernel.org\n",
"Cc: Chris Zankel <chris\@zankel.net>\n",
"Cc: Max Filippov <jcmvbkbc\@gmail.com>\n",
"Cc: Peter Zijlstra <peterz\@infradead.org>\n",
- "Cc: linux-arm-kernel\@lists.infradead.org\n",
- "Cc: linux-kernel\@vger.kernel.org\n",
- "Cc: linux-cris-kernel\@axis.com\n",
- "Cc: linux-ia64\@vger.kernel.org\n",
- "Cc: linux-metag\@vger.kernel.org\n",
- "Cc: linux-am33-list\@redhat.com\n",
- "Cc: linux-s390\@vger.kernel.org\n",
- "Cc: linux-sh\@vger.kernel.org\n",
- "Cc: sparclinux\@vger.kernel.org\n",
- "Cc: linux-xtensa\@linux-xtensa.org\n",
+ "Cc: linux-arm-kernel at lists.infradead.org\n",
+ "Cc: linux-kernel at vger.kernel.org\n",
+ "Cc: linux-cris-kernel at axis.com\n",
+ "Cc: linux-ia64 at vger.kernel.org\n",
+ "Cc: linux-metag at vger.kernel.org\n",
+ "Cc: linux-am33-list at redhat.com\n",
+ "Cc: linux-s390 at vger.kernel.org\n",
+ "Cc: linux-sh at vger.kernel.org\n",
+ "Cc: sparclinux at vger.kernel.org\n",
+ "Cc: linux-xtensa at linux-xtensa.org\n",
"---\n",
" arch/arm/kernel/process.c | 4 ++--\n",
" arch/arm/vfp/vfpmodule.c | 4 ----\n",
@@ -109,7 +109,7 @@
" *\tit is unsafe to use thread->cpu.\n",
" * THREAD_NOTIFY_EXIT\n",
"- * - the thread (v) will be running on the local CPU, so\n",
- "- *\tv == current_thread_info()\n",
+ "- *\tv === current_thread_info()\n",
"- * - thread->cpu is the local CPU number at the time it is accessed,\n",
"- *\tbut may change at any time.\n",
" * - we could be preempted if tree preempt rcu is enabled, so\n",
@@ -155,7 +155,7 @@
" \n",
" \n",
" /*\n",
- "- * called only from exit_thread(): task = current\n",
+ "- * called only from exit_thread(): task == current\n",
"- * we come here only if current has a context attached (loaded or masked)\n",
"+ * called only from exit_thread()\n",
"+ * we come here only if the task has a context attached (loaded or masked)\n",
@@ -242,7 +242,7 @@
"+void exit_thread(struct task_struct *tsk)\n",
" {\n",
"-\texit_thread_runtime_instr();\n",
- "+\tif (tsk = current)\n",
+ "+\tif (tsk == current)\n",
"+\t\texit_thread_runtime_instr();\n",
" }\n",
" \n",
@@ -264,8 +264,8 @@
" \t * which it would get safely nulled.\n",
" \t */\n",
" #ifdef CONFIG_SH_FPU\n",
- "-\tif (last_task_used_math = current) {\n",
- "+\tif (last_task_used_math = tsk) {\n",
+ "-\tif (last_task_used_math == current) {\n",
+ "+\tif (last_task_used_math == tsk) {\n",
" \t\tlast_task_used_math = NULL;\n",
" \t}\n",
" #endif\n",
@@ -281,8 +281,8 @@
"+void exit_thread(struct task_struct *tsk)\n",
" {\n",
" #ifndef CONFIG_SMP\n",
- "-\tif(last_task_used_math = current) {\n",
- "+\tif (last_task_used_math = tsk) {\n",
+ "-\tif(last_task_used_math == current) {\n",
+ "+\tif (last_task_used_math == tsk) {\n",
" #else\n",
"-\tif (test_thread_flag(TIF_USEDFPU)) {\n",
"+\tif (test_ti_thread_flag(task_thread_info(tsk), TIF_USEDFPU)) {\n",
@@ -332,7 +332,7 @@
" \t/*\n",
"\@\@ -550,7 +550,7 \@\@ void exit_thread(void)\n",
" \t * the last reference to a hardwall fd, it would already have\n",
- " \t * been released and deactivated at this point.)\n",
+ " \t * been released and deactivated\@this point.)\n",
" \t */\n",
"-\thardwall_deactivate_all(current);\n",
"+\thardwall_deactivate_all(tsk);\n",
@@ -406,4 +406,4 @@
"2.7.4"
]
-c7b594427e210dde0714ac75ce91db86387a738bd00c24a2cab2332c1f0ae4f2
+cc6d4301f04afe53783762ca0edeaeb0f2edd42e106ed4f13a5b88a8855171b0
diff --git a/a/1.txt b/N3/1.txt
index e6a16e6..ad712f9 100644
--- a/a/1.txt
+++ b/N3/1.txt
@@ -87,7 +87,7 @@ index 2a61e4b04600..73085d3482ed 100644
* it is unsafe to use thread->cpu.
* THREAD_NOTIFY_EXIT
- * - the thread (v) will be running on the local CPU, so
-- * v == current_thread_info()
+- * v === current_thread_info()
- * - thread->cpu is the local CPU number at the time it is accessed,
- * but may change at any time.
* - we could be preempted if tree preempt rcu is enabled, so
@@ -133,7 +133,7 @@ index 9cd607b06964..2436ad5f92c1 100644
/*
-- * called only from exit_thread(): task = current
+- * called only from exit_thread(): task == current
- * we come here only if current has a context attached (loaded or masked)
+ * called only from exit_thread()
+ * we come here only if the task has a context attached (loaded or masked)
@@ -220,7 +220,7 @@ index 2bba7df4ac51..f8e79824e284 100644
+void exit_thread(struct task_struct *tsk)
{
- exit_thread_runtime_instr();
-+ if (tsk = current)
++ if (tsk == current)
+ exit_thread_runtime_instr();
}
@@ -242,8 +242,8 @@ index e2062e643341..bfd3855fe120 100644
* which it would get safely nulled.
*/
#ifdef CONFIG_SH_FPU
-- if (last_task_used_math = current) {
-+ if (last_task_used_math = tsk) {
+- if (last_task_used_math == current) {
++ if (last_task_used_math == tsk) {
last_task_used_math = NULL;
}
#endif
@@ -259,8 +259,8 @@ index c5113c7ce2fd..b7780a5bef11 100644
+void exit_thread(struct task_struct *tsk)
{
#ifndef CONFIG_SMP
-- if(last_task_used_math = current) {
-+ if (last_task_used_math = tsk) {
+- if(last_task_used_math == current) {
++ if (last_task_used_math == tsk) {
#else
- if (test_thread_flag(TIF_USEDFPU)) {
+ if (test_ti_thread_flag(task_thread_info(tsk), TIF_USEDFPU)) {
diff --git a/a/content_digest b/N3/content_digest
index 785009b..c80958a 100644
--- a/a/content_digest
+++ b/N3/content_digest
@@ -8,10 +8,36 @@
"Subject\0[PATCH v2 3/4] exit_thread: accept a task parameter to be exited\0"
]
[
- "Date\0Thu, 31 Mar 2016 07:55:54 +0000\0"
+ "Date\0Thu, 31 Mar 2016 09:55:54 +0200\0"
]
[
- "To\0linux-arm-kernel\@lists.infradead.org\0"
+ "To\0akpm\@linux-foundation.org\0"
+]
+[
+ "Cc\0linux-kernel\@vger.kernel.org",
+ " Jiri Slaby <jslaby\@suse.cz>",
+ " Russell King <linux\@arm.linux.org.uk>",
+ " Haavard Skinnemoen <hskinnemoen\@gmail.com>",
+ " Hans-Christian Egtvedt <egtvedt\@samfundet.no>",
+ " Mikael Starvik <starvik\@axis.com>",
+ " Jesper Nilsson <jesper.nilsson\@axis.com>",
+ " Tony Luck <tony.luck\@intel.com>",
+ " Fenghua Yu <fenghua.yu\@intel.com>",
+ " James Hogan <james.hogan\@imgtec.com>",
+ " David Howells <dhowells\@redhat.com>",
+ " Koichi Yasutake <yasutake.koichi\@jp.panasonic.com>",
+ " Martin Schwidefsky <schwidefsky\@de.ibm.com>",
+ " Heiko Carstens <heiko.carstens\@de.ibm.com>",
+ " Yoshinori Sato <ysato\@users.sourceforge.jp>",
+ " Rich Felker <dalias\@libc.org>",
+ " David S. Miller <davem\@davemloft.net>",
+ " Chris Metcalf <cmetcalf\@mellanox.com>",
+ " Thomas Gleixner <tglx\@linutronix.de>",
+ " Ingo Molnar <mingo\@redhat.com>",
+ " H. Peter Anvin <hpa\@zytor.com>",
+ " x86\@kernel.org",
+ " Chris Zankel <chris\@zankel.net>",
+ " Max Filippov <jc>\0"
]
[
"\0000:1\0"
@@ -109,7 +135,7 @@
" *\tit is unsafe to use thread->cpu.\n",
" * THREAD_NOTIFY_EXIT\n",
"- * - the thread (v) will be running on the local CPU, so\n",
- "- *\tv == current_thread_info()\n",
+ "- *\tv === current_thread_info()\n",
"- * - thread->cpu is the local CPU number at the time it is accessed,\n",
"- *\tbut may change at any time.\n",
" * - we could be preempted if tree preempt rcu is enabled, so\n",
@@ -155,7 +181,7 @@
" \n",
" \n",
" /*\n",
- "- * called only from exit_thread(): task = current\n",
+ "- * called only from exit_thread(): task == current\n",
"- * we come here only if current has a context attached (loaded or masked)\n",
"+ * called only from exit_thread()\n",
"+ * we come here only if the task has a context attached (loaded or masked)\n",
@@ -242,7 +268,7 @@
"+void exit_thread(struct task_struct *tsk)\n",
" {\n",
"-\texit_thread_runtime_instr();\n",
- "+\tif (tsk = current)\n",
+ "+\tif (tsk == current)\n",
"+\t\texit_thread_runtime_instr();\n",
" }\n",
" \n",
@@ -264,8 +290,8 @@
" \t * which it would get safely nulled.\n",
" \t */\n",
" #ifdef CONFIG_SH_FPU\n",
- "-\tif (last_task_used_math = current) {\n",
- "+\tif (last_task_used_math = tsk) {\n",
+ "-\tif (last_task_used_math == current) {\n",
+ "+\tif (last_task_used_math == tsk) {\n",
" \t\tlast_task_used_math = NULL;\n",
" \t}\n",
" #endif\n",
@@ -281,8 +307,8 @@
"+void exit_thread(struct task_struct *tsk)\n",
" {\n",
" #ifndef CONFIG_SMP\n",
- "-\tif(last_task_used_math = current) {\n",
- "+\tif (last_task_used_math = tsk) {\n",
+ "-\tif(last_task_used_math == current) {\n",
+ "+\tif (last_task_used_math == tsk) {\n",
" #else\n",
"-\tif (test_thread_flag(TIF_USEDFPU)) {\n",
"+\tif (test_ti_thread_flag(task_thread_info(tsk), TIF_USEDFPU)) {\n",
@@ -406,4 +432,4 @@
"2.7.4"
]
-c7b594427e210dde0714ac75ce91db86387a738bd00c24a2cab2332c1f0ae4f2
+5a518828b1e4550e601ef91f36ad0355fccfe69a55e6ca007c5c341370682724
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.