提交 bffc4375 编写于 作者: Y Yannick Guerrini 提交者: Tejun Heo

percpu: Fix trivial typos in comments

Change 'tranlated' to 'translated'
Change 'mutliples' to 'multiples'
Signed-off-by: NYannick Guerrini <yguerrini@tomshardware.fr>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 3494fc30
...@@ -1310,7 +1310,7 @@ bool is_kernel_percpu_address(unsigned long addr) ...@@ -1310,7 +1310,7 @@ bool is_kernel_percpu_address(unsigned long addr)
* and, from the second one, the backing allocator (currently either vm or * and, from the second one, the backing allocator (currently either vm or
* km) provides translation. * km) provides translation.
* *
* The addr can be tranlated simply without checking if it falls into the * The addr can be translated simply without checking if it falls into the
* first chunk. But the current code reflects better how percpu allocator * first chunk. But the current code reflects better how percpu allocator
* actually works, and the verification can discover both bugs in percpu * actually works, and the verification can discover both bugs in percpu
* allocator itself and per_cpu_ptr_to_phys() callers. So we keep current * 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,7 +1762,7 @@ early_param("percpu_alloc", percpu_alloc_setup);
* and other parameters considering needed percpu size, allocation * and other parameters considering needed percpu size, allocation
* atom size and distances between CPUs. * atom size and distances between CPUs.
* *
* Groups are always mutliples of atom size and CPUs which are of * Groups are always multiples of atom size and CPUs which are of
* LOCAL_DISTANCE both ways are grouped together and share space for * LOCAL_DISTANCE both ways are grouped together and share space for
* units in the same group. The returned configuration is guaranteed * units in the same group. The returned configuration is guaranteed
* to have CPUs on different nodes on different groups and >=75% usage * to have CPUs on different nodes on different groups and >=75% usage
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册