diff options
author | 2023-05-18 10:55:43 -0400 | |
---|---|---|
committer | 2023-06-09 16:25:35 -0700 | |
commit | bb5dbd2272b8d7b3a34d234bb916819afbf802d1 (patch) | |
tree | cc4bf310a28fa9c3b8ac878bc9bc6f4f203855a6 /mm/page_alloc.c | |
parent | maple_tree: update testing code for mas_{next,prev,walk} (diff) | |
download | wireguard-linux-bb5dbd2272b8d7b3a34d234bb916819afbf802d1.tar.xz wireguard-linux-bb5dbd2272b8d7b3a34d234bb916819afbf802d1.zip |
mm: add vma_iter_{next,prev}_range() to vma iterator
Add functionality to the VMA iterator to advance and retreat one offset
within the maple tree, regardless of the value contained. This can lead
to less re-walking to find an area of interest, especially when there is
nothing in that offset.
Link: https://lkml.kernel.org/r/20230518145544.1722059-35-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: David Binderman <dcb314@hotmail.com>
Cc: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Vernon Yang <vernon2gm@gmail.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