mm/page_alloc: update comments in __free_pages_ok()
authorDeyan Wang <wonder_rock@126.com>
Thu, 1 Dec 2022 13:50:45 +0000 (21:50 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Dec 2022 02:12:17 +0000 (18:12 -0800)
commitac4b2901a112e4dcee1455c96d89ef83cc7aa545
treeae3fe734e69c69bb95bac4dbac2d361a31462be4
parent480017957d6380d3336a8e80ad90f70415bb86f7
mm/page_alloc: update comments in __free_pages_ok()

Add a comment to explain why we call get_pfnblock_migratetype() twice in
__free_pages_ok().

Link: https://lkml.kernel.org/r/20221201135045.31663-1-wonder_rock@126.com
Signed-off-by: Deyan Wang <wonder_rock@126.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c