diff options
author | 2023-11-20 15:09:34 +0800 | |
---|---|---|
committer | 2023-12-12 10:57:00 -0800 | |
commit | 3f05fcdebf2979569802e1ee94cf4c7d887546e2 (patch) | |
tree | 34963ea9aa8f725a5a27ac31dfdca3773b96e8fd /fs/dcache.c | |
parent | maple_tree: move the check forward to avoid static check warning (diff) | |
download | wireguard-linux-3f05fcdebf2979569802e1ee94cf4c7d887546e2.tar.xz wireguard-linux-3f05fcdebf2979569802e1ee94cf4c7d887546e2.zip |
maple_tree: avoid ascending when mas->min is also the parent's minimum
When the child node is the first child of its parent node, mas->min does
not need to be updated. This can reduce the number of ascending times
in some cases.
Link: https://lkml.kernel.org/r/20231120070937.35481-3-zhangpeng.00@bytedance.com
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions