Commit 88c08fa6 authored by Roman Gushchin's avatar Roman Gushchin Committed by Zheng Zengkai
Browse files

percpu: fix a comment about the chunks ordering

mainline inclusion
from mainline-v5.14-rc1
commit ac9380f6
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4BE79


CVE: NA

-------------------------------------------------
Since the commit 3e54097b ("percpu: manage chunks based on
contig_bits instead of free_bytes") chunks are sorted based on the
size of the biggest continuous free area instead of the total number
of free bytes. Update the corresponding comment to reflect this.

Signed-off-by: default avatarRoman Gushchin <guro@fb.com>
Signed-off-by: default avatarDennis Zhou <dennis@kernel.org>
(cherry picked from commit ac9380f6)
Signed-off-by: default avatarYuanzheng Song <songyuanzheng@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 76aa3aca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment