aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorDev Jain <dev.jain@arm.com>2025-07-03 12:03:38 +0530
committerAndrew Morton <akpm@linux-foundation.org>2025-07-13 16:38:24 -0700
commit526f36f3f47b9ad29ffb1bf668b7f295287ee11b (patch)
tree3dc74b0973a9316d101f41c32f188956c3c76c2c /mm/page_alloc.c
parentcma: move memory allocation to a helper function (diff)
downloadwireguard-linux-526f36f3f47b9ad29ffb1bf668b7f295287ee11b.tar.xz
wireguard-linux-526f36f3f47b9ad29ffb1bf668b7f295287ee11b.zip
maple tree: add some comments
Add comments explaining the fields for maple_metadata, since "end" is ambiguous and "gap" can be confused as the largest gap, whereas it is actually the offset of the largest gap. Add comment for mas_ascend() to explain, whose min and max we are trying to find. Explain that, for example, if we are already on offset zero, then the parent min is mas->min, otherwise we need to walk up to find the implied pivot min. Link: https://lkml.kernel.org/r/20250703063338.51509-1-dev.jain@arm.com Signed-off-by: Dev Jain <dev.jain@arm.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions