aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2024-09-13 06:31:28 +0000
committerAndrew Morton <akpm@linux-foundation.org>2024-11-06 20:11:13 -0800
commit0cc8d68abe2fdcb7039ece95f784698c0b0dc51e (patch)
tree60d085a3b921ba09b0d481fda0a79740c6bf70d5 /mm/swap_state.c
parentmaple_tree: add some alloc node test case (diff)
downloadwireguard-linux-0cc8d68abe2fdcb7039ece95f784698c0b0dc51e.tar.xz
wireguard-linux-0cc8d68abe2fdcb7039ece95f784698c0b0dc51e.zip
maple_tree: root node could be handled by !p_slot too
For a root node, mte_parent_slot() return 0, this exactly fits the following !p_slot check. So we can remove the special handling for root node. Link: https://lkml.kernel.org/r/20240913063128.27391-1-richard.weiyang@gmail.com Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions