From: Namhyung Kim Date: Wed, 11 Aug 2010 02:19:19 +0000 (+0900) Subject: percpu: fix a mismatch between code and comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=54157c44471f5e266508ac08d270f2bc5857e8bb;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Tejun Heo --- diff --git a/mm/percpu.c b/mm/percpu.c index a1830d8e3318..58c572b18b07 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -1164,7 +1164,7 @@ static struct pcpu_alloc_info * __init pcpu_build_alloc_info( } /* - * Don't accept if wastage is over 25%. The + * Don't accept if wastage is over 1/3. The * greater-than comparison ensures upa==1 always * passes the following check. */