]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/page_alloc.c
mm/page_alloc.c: fix obsolete comment in free_pcppages_bulk()
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 5 Nov 2021 20:40:08 +0000 (13:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:37 +0000 (13:30 -0700)
commit7cba630bd830472f88ada5fdd34bbfd5825d9217
tree6ebaf69e647b2efa85e022b2fc4e9ece3eefa4dd
parentff7ed9e4532d14e0478d192548e77d78d72387e9
mm/page_alloc.c: fix obsolete comment in free_pcppages_bulk()

The second two paragraphs about "all pages pinned" and pages_scanned is
obsolete.  And There are PAGE_ALLOC_COSTLY_ORDER + 1 + NR_PCP_THP orders
in pcp.  So the same order assumption is not held now.

Link: https://lkml.kernel.org/r/20210902121242.41607-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: David Hildenbrand <david@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c