]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: fix a mismatch between code and comment
authorNamhyung Kim <namhyung@gmail.com>
Wed, 11 Aug 2010 02:19:19 +0000 (11:19 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 27 Aug 2010 09:36:19 +0000 (11:36 +0200)
commit4c4fca41f397eb87641195d3319199c0ea80f911
treeecc31a0fee9ffc75875e51b71ae07010fb4bc07b
parent1d03b1f752b24319235a361d664f372a8fcd62ec
percpu: fix a mismatch between code and comment

When pcpu_build_alloc_info() searches best_upa value, it ignores current value
if the number of waste units exceeds 1/3 of the number of total cpus. But the
comment on the code says that it will ignore if wastage is over 25%.
Modify the comment.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c