aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/page_ext.c
diff options
context:
space:
mode:
authorPeng Zhang <zhangpeng.00@bytedance.com>2023-07-11 11:54:39 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:21 -0700
commitf8e5eac8abe3d26106e5470c735058f04f60f61e (patch)
treef1776d1abd44db5e7096b52707e1bd0cbd6c183b /mm/page_ext.c
parentmaple_tree: don't use MAPLE_ARANGE64_META_MAX to indicate no gap (diff)
downloadwireguard-linux-f8e5eac8abe3d26106e5470c735058f04f60f61e.tar.xz
wireguard-linux-f8e5eac8abe3d26106e5470c735058f04f60f61e.zip
maple_tree: make mas_validate_gaps() to check metadata
Make mas_validate_gaps() check whether the offset in the metadata points to the largest gap. By the way, simplify this function. Add the verification that gaps beyond the node limit are zero. Link: https://lkml.kernel.org/r/20230711035444.526-4-zhangpeng.00@bytedance.com Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions