mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
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>
This commit is contained in:
parent
a002d14842
commit
54157c4447
1 changed files with 1 additions and 1 deletions
|
@ -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
|
* greater-than comparison ensures upa==1 always
|
||||||
* passes the following check.
|
* passes the following check.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue