All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20180515160043.27044-3-willy@infradead.org>

diff --git a/a/1.txt b/N1/1.txt
index 6b80933..7f6499a 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -200,7 +200,7 @@ index 6016f1deb1f5..000000000000
 -
 -		cpumask_clear_cpu(cpu, &pool->cpus_have_tags);
 -
--		if (remote == tags)
+-		if (remote = tags)
 -			continue;
 -
 -		spin_lock(&remote->lock);
@@ -308,7 +308,7 @@ index 6016f1deb1f5..000000000000
 -		spin_unlock(&pool->lock);
 -		local_irq_restore(flags);
 -
--		if (tag >= 0 || state == TASK_RUNNING)
+-		if (tag >= 0 || state = TASK_RUNNING)
 -			break;
 -
 -		if (signal_pending_state(state, current)) {
@@ -352,20 +352,20 @@ index 6016f1deb1f5..000000000000
 -	nr_free = tags->nr_free;
 -	spin_unlock(&tags->lock);
 -
--	if (nr_free == 1) {
+-	if (nr_free = 1) {
 -		cpumask_set_cpu(smp_processor_id(),
 -				&pool->cpus_have_tags);
 -		wake_up(&pool->wait);
 -	}
 -
--	if (nr_free == pool->percpu_max_size) {
+-	if (nr_free = pool->percpu_max_size) {
 -		spin_lock(&pool->lock);
 -
 -		/*
 -		 * Global lock held and irqs disabled, don't need percpu
 -		 * lock
 -		 */
--		if (tags->nr_free == pool->percpu_max_size) {
+-		if (tags->nr_free = pool->percpu_max_size) {
 -			move_tags(pool->freelist, &pool->nr_free,
 -				  tags->freelist, &tags->nr_free,
 -				  pool->percpu_batch_size);
@@ -497,14 +497,14 @@ index 6016f1deb1f5..000000000000
 -/**
 - * percpu_ida_free_tags - return free tags number of a specific cpu or global pool
 - * @pool: pool related
-- * @cpu: specific cpu or global pool if @cpu == nr_cpu_ids
+- * @cpu: specific cpu or global pool if @cpu = nr_cpu_ids
 - *
 - * Note: this just returns a snapshot of free tags number.
 - */
 -unsigned percpu_ida_free_tags(struct percpu_ida *pool, int cpu)
 -{
 -	struct percpu_ida_cpu *remote;
--	if (cpu == nr_cpu_ids)
+-	if (cpu = nr_cpu_ids)
 -		return pool->nr_free;
 -	remote = per_cpu_ptr(pool->tag_cpu, cpu);
 -	return remote->nr_free;
diff --git a/a/content_digest b/N1/content_digest
index 799909d..b8eecd6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,7 +8,7 @@
   "Subject\0[PATCH 2/2] Remove percpu_ida\0"
 ]
 [
-  "Date\0Tue, 15 May 2018 09:00:43 -0700\0"
+  "Date\0Tue, 15 May 2018 16:00:43 +0000\0"
 ]
 [
   "To\0linux-kernel\@vger.kernel.org",
@@ -236,7 +236,7 @@
   "-\n",
   "-\t\tcpumask_clear_cpu(cpu, &pool->cpus_have_tags);\n",
   "-\n",
-  "-\t\tif (remote == tags)\n",
+  "-\t\tif (remote = tags)\n",
   "-\t\t\tcontinue;\n",
   "-\n",
   "-\t\tspin_lock(&remote->lock);\n",
@@ -344,7 +344,7 @@
   "-\t\tspin_unlock(&pool->lock);\n",
   "-\t\tlocal_irq_restore(flags);\n",
   "-\n",
-  "-\t\tif (tag >= 0 || state == TASK_RUNNING)\n",
+  "-\t\tif (tag >= 0 || state = TASK_RUNNING)\n",
   "-\t\t\tbreak;\n",
   "-\n",
   "-\t\tif (signal_pending_state(state, current)) {\n",
@@ -388,20 +388,20 @@
   "-\tnr_free = tags->nr_free;\n",
   "-\tspin_unlock(&tags->lock);\n",
   "-\n",
-  "-\tif (nr_free == 1) {\n",
+  "-\tif (nr_free = 1) {\n",
   "-\t\tcpumask_set_cpu(smp_processor_id(),\n",
   "-\t\t\t\t&pool->cpus_have_tags);\n",
   "-\t\twake_up(&pool->wait);\n",
   "-\t}\n",
   "-\n",
-  "-\tif (nr_free == pool->percpu_max_size) {\n",
+  "-\tif (nr_free = pool->percpu_max_size) {\n",
   "-\t\tspin_lock(&pool->lock);\n",
   "-\n",
   "-\t\t/*\n",
   "-\t\t * Global lock held and irqs disabled, don't need percpu\n",
   "-\t\t * lock\n",
   "-\t\t */\n",
-  "-\t\tif (tags->nr_free == pool->percpu_max_size) {\n",
+  "-\t\tif (tags->nr_free = pool->percpu_max_size) {\n",
   "-\t\t\tmove_tags(pool->freelist, &pool->nr_free,\n",
   "-\t\t\t\t  tags->freelist, &tags->nr_free,\n",
   "-\t\t\t\t  pool->percpu_batch_size);\n",
@@ -533,14 +533,14 @@
   "-/**\n",
   "- * percpu_ida_free_tags - return free tags number of a specific cpu or global pool\n",
   "- * \@pool: pool related\n",
-  "- * \@cpu: specific cpu or global pool if \@cpu == nr_cpu_ids\n",
+  "- * \@cpu: specific cpu or global pool if \@cpu = nr_cpu_ids\n",
   "- *\n",
   "- * Note: this just returns a snapshot of free tags number.\n",
   "- */\n",
   "-unsigned percpu_ida_free_tags(struct percpu_ida *pool, int cpu)\n",
   "-{\n",
   "-\tstruct percpu_ida_cpu *remote;\n",
-  "-\tif (cpu == nr_cpu_ids)\n",
+  "-\tif (cpu = nr_cpu_ids)\n",
   "-\t\treturn pool->nr_free;\n",
   "-\tremote = per_cpu_ptr(pool->tag_cpu, cpu);\n",
   "-\treturn remote->nr_free;\n",
@@ -550,4 +550,4 @@
   "2.17.0"
 ]
 
-8d00a3c922c6a6a8d1f2135eb55ac56615e49fd125f93355a6e36e3109927caf
+f114e8391d8c040696bf18dd9391e7e1646715d0494f55d65b0b488318ad9c2c

diff --git a/a/1.txt b/N2/1.txt
index 6b80933..7fc61bd 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -509,6 +509,4 @@ index 6016f1deb1f5..000000000000
 -	remote = per_cpu_ptr(pool->tag_cpu, cpu);
 -	return remote->nr_free;
 -}
--EXPORT_SYMBOL_GPL(percpu_ida_free_tags);
--- 
-2.17.0
\ No newline at end of file
+-EXPORT_SYMBOL_GPL(percpu_ida_free_tags);
\ No newline at end of file
diff --git a/a/content_digest b/N2/content_digest
index 799909d..1e75b8f 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,11 +1,8 @@
-[
-  "ref\00020180515160043.27044-1-willy\@infradead.org\0"
-]
 [
   "From\0Matthew Wilcox <willy\@infradead.org>\0"
 ]
 [
-  "Subject\0[PATCH 2/2] Remove percpu_ida\0"
+  "Subject\0[2/2] Remove percpu_ida\0"
 ]
 [
   "Date\0Tue, 15 May 2018 09:00:43 -0700\0"
@@ -545,9 +542,7 @@
   "-\tremote = per_cpu_ptr(pool->tag_cpu, cpu);\n",
   "-\treturn remote->nr_free;\n",
   "-}\n",
-  "-EXPORT_SYMBOL_GPL(percpu_ida_free_tags);\n",
-  "-- \n",
-  "2.17.0"
+  "-EXPORT_SYMBOL_GPL(percpu_ida_free_tags);"
 ]
 
-8d00a3c922c6a6a8d1f2135eb55ac56615e49fd125f93355a6e36e3109927caf
+320280f9e93822a49ebc18e8552305f76e4e5e80122fc242bfb7ccd96d5ed30e

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.