diff options
author | Matthew Wilcox <willy@linux.intel.com> | 2016-03-18 00:22:06 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-18 01:09:34 +0300 |
commit | 7165092fe5ca70bae722ac6cd78421cfd0eec18d (patch) | |
tree | 93714621a6b7e4c7ba20677a5c7f408795132e8c /include/linux/moduleparam.h | |
parent | 2cf938aae17203426a89b5955bd1c9668657bfa8 (diff) | |
download | linux-7165092fe5ca70bae722ac6cd78421cfd0eec18d.tar.xz |
radix-tree,shmem: introduce radix_tree_iter_next()
shmem likes to occasionally drop the lock, schedule, then reacqire the
lock and continue with the iteration from the last place it left off.
This is currently done with a pretty ugly goto. Introduce
radix_tree_iter_next() and use it throughout shmem.c.
[koct9i@gmail.com: fix bug in radix_tree_iter_next() for tagged iteration]
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions