aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYannick Guerrini <yguerrini@tomshardware.fr>2015-03-06 17:30:42 -0500
committerTejun Heo <tj@kernel.org>2015-03-24 13:41:54 -0400
commitbffc4375897ea01aa68877e5fc1e33c7766efa29 (patch)
tree1c1abaa4d7b70efe89ca672c715b7af6d2251f68
parent3494fc30846dceb808de4cc02930ef347fabd21a (diff)
percpu: Fix trivial typos in comments
Change 'tranlated' to 'translated' Change 'mutliples' to 'multiples' Signed-off-by: Yannick Guerrini <yguerrini@tomshardware.fr> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--mm/percpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 73c97a5f4495..dfd02484e8de 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1310,7 +1310,7 @@ bool is_kernel_percpu_address(unsigned long addr)
1310 * and, from the second one, the backing allocator (currently either vm or 1310 * and, from the second one, the backing allocator (currently either vm or
1311 * km) provides translation. 1311 * km) provides translation.
1312 * 1312 *
1313 * The addr can be tranlated simply without checking if it falls into the 1313 * The addr can be translated simply without checking if it falls into the
1314 * first chunk. But the current code reflects better how percpu allocator 1314 * first chunk. But the current code reflects better how percpu allocator
1315 * actually works, and the verification can discover both bugs in percpu 1315 * actually works, and the verification can discover both bugs in percpu
1316 * allocator itself and per_cpu_ptr_to_phys() callers. So we keep current 1316 * allocator itself and per_cpu_ptr_to_phys() callers. So we keep current
@@ -1762,7 +1762,7 @@ early_param("percpu_alloc", percpu_alloc_setup);
1762 * and other parameters considering needed percpu size, allocation 1762 * and other parameters considering needed percpu size, allocation
1763 * atom size and distances between CPUs. 1763 * atom size and distances between CPUs.
1764 * 1764 *
1765 * Groups are always mutliples of atom size and CPUs which are of 1765 * Groups are always multiples of atom size and CPUs which are of
1766 * LOCAL_DISTANCE both ways are grouped together and share space for 1766 * LOCAL_DISTANCE both ways are grouped together and share space for
1767 * units in the same group. The returned configuration is guaranteed 1767 * units in the same group. The returned configuration is guaranteed
1768 * to have CPUs on different nodes on different groups and >=75% usage 1768 * to have CPUs on different nodes on different groups and >=75% usage