aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorDev Jain <[email protected]>2025-07-03 06:33:38 +0000
committerAndrew Morton <[email protected]>2025-07-13 23:38:24 +0000
commit526f36f3f47b9ad29ffb1bf668b7f295287ee11b (patch)
tree3dc74b0973a9316d101f41c32f188956c3c76c2c /mm/page_alloc.c
parentcma: move memory allocation to a helper function (diff)
downloadkernel-526f36f3f47b9ad29ffb1bf668b7f295287ee11b.tar.gz
kernel-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/[email protected] Signed-off-by: Dev Jain <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Cc: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions