]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: fix a comment about the chunks ordering
authorRoman Gushchin <guro@fb.com>
Thu, 8 Apr 2021 03:57:31 +0000 (20:57 -0700)
committerDennis Zhou <dennis@kernel.org>
Fri, 16 Apr 2021 20:57:49 +0000 (20:57 +0000)
commit377bacb9a4293c367b59304bdb65e3c9c39f801f
tree58e23211f36e988ac5662a949c4ed4db5fd00163
parentbd1e1b18c698eed6719f05e6cdf3a6d7b58b0c0a
percpu: fix a comment about the chunks ordering

Since the commit 96072815239f ("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: Roman Gushchin <guro@fb.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
mm/percpu.c