]> www.infradead.org Git - nvme.git/commit
mm/page_alloc: reword the comment of buddy_merge_likely()
authorWei Yang <richard.weiyang@gmail.com>
Wed, 19 Jun 2024 01:06:12 +0000 (01:06 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:19 +0000 (19:30 -0700)
commit08af2c12e3ef379de94ba5653f2f9ae9a588ecd9
treecb721960beeb21e9e4366dad3de30d3d5faad7aa
parentb719efa22d1ebe00ca7f9cfa80e5222e12a2dbfd
mm/page_alloc: reword the comment of buddy_merge_likely()

For page with order O, we are checking its order (O + 1)'s buddy.  If it
is free, we would like to put it to the tail and expect it would be merged
to a page with order (O + 2).

Reword the comment to reflect it.

Link: https://lkml.kernel.org/r/20240619010612.20740-4-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c