diff for duplicates of <4A84E7B0.7040103@kernel.org> diff --git a/a/1.txt b/N1/1.txt index e4bbef2..d5110c2 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 3965732..d4cfa38 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,15 +4,15 @@ "ref\020090812.162517.13032565.davem@davemloft.net\0" "ref\04A84E766.3070904@kernel.org\0" "From\0Tejun Heo <tj@kernel.org>\0" - "Subject\0[PATCH 2/2 2.6.31-rc5 UPDATED] percpu, sparc64: fix sparse possible\0" - "Date\0Fri, 14 Aug 2009 04:27:28 +0000\0" + "Subject\0[PATCH 2/2 2.6.31-rc5 UPDATED] percpu, sparc64: fix sparse possible cpu map handling\0" + "Date\0Fri, 14 Aug 2009 13:27:28 +0900\0" "To\0David Miller <davem@davemloft.net>\0" "Cc\0mingo@elte.hu" linux-kernel@vger.kernel.org " 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" @@ -40,7 +40,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" @@ -221,4 +221,4 @@ "-- \n" 1.6.0.2 -aaa64988de5af1bebb548dc547187cdf24ca1eb240905a4cdd815673c203b50e +b6a410fa6c77bde7d985af8a3ed3cf0a3c516f4fd5eabf4e78bd64143ed12939
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.