diff for duplicates of <4A7AA416.9070901@kernel.org> diff --git a/a/1.txt b/N1/1.txt index 34b5a36..adbb984 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -percpu code has been assuming num_possible_cpus() = nr_cpu_ids which +percpu code has been assuming num_possible_cpus() == nr_cpu_ids which is incorrect if cpu_possible_map contains holes. This causes percpu code to access beyond allocated memories and vmalloc areas. On a sparc64 machine with cpus 0 and 2 (u60), this triggers the following @@ -26,7 +26,7 @@ setup_per_cpu_areas() so that they handle sparse cpu_possible_map properly. Please note that on x86, cpu_possible_map() doesn't contain holes and -thus num_possible_cpus() = nr_cpu_ids and this patch doesn't cause +thus num_possible_cpus() == nr_cpu_ids and this patch doesn't cause any behavior difference. Signed-off-by: Tejun Heo <tj@kernel.org> diff --git a/a/content_digest b/N1/content_digest index 5cd9f17..9908105 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,14 +1,14 @@ "ref\04A7AA368.8080606@kernel.org\0" "From\0Tejun Heo <tj@kernel.org>\0" - "Subject\0[PATCH 2/2 2.6.31-rc5 REPOST] percpu, sparc64: fix sparse possible\0" - "Date\0Thu, 06 Aug 2009 09:36:22 +0000\0" + "Subject\0[PATCH 2/2 2.6.31-rc5 REPOST] percpu, sparc64: fix sparse possible cpu map handling\0" + "Date\0Thu, 06 Aug 2009 18:36:22 +0900\0" "To\0Linux Kernel <linux-kernel@vger.kernel.org>" Ingo Molnar <mingo@elte.hu> David Miller <davem@davemloft.net> " sparclinux@vger.kernel.org\0" "\00:1\0" "b\0" - "percpu code has been assuming num_possible_cpus() = nr_cpu_ids which\n" + "percpu code has been assuming num_possible_cpus() == nr_cpu_ids which\n" "is incorrect if cpu_possible_map contains holes. This causes percpu\n" "code to access beyond allocated memories and vmalloc areas. On a\n" "sparc64 machine with cpus 0 and 2 (u60), this triggers the following\n" @@ -36,7 +36,7 @@ "properly.\n" "\n" "Please note that on x86, cpu_possible_map() doesn't contain holes and\n" - "thus num_possible_cpus() = nr_cpu_ids and this patch doesn't cause\n" + "thus num_possible_cpus() == nr_cpu_ids and this patch doesn't cause\n" "any behavior difference.\n" "\n" "Signed-off-by: Tejun Heo <tj@kernel.org>\n" @@ -219,4 +219,4 @@ "-- \n" 1.6.0.2 -796b395ac91e036b1e79c1ecd82e63c2449cb7f0ab8c158d79b87cb1132cbbdc +e4da8d7e91553467e8b61162a8d1e67f93ee1127ce0a1eee9af48094ed5ca2a6
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.