]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm: use radix_tree_iter_retry()
authorMatthew Wilcox <willy@linux.intel.com>
Thu, 17 Mar 2016 21:22:03 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commit2cf938aae17203426a89b5955bd1c9668657bfa8
treedf3afed25409565778e49995541fabf6f083672d
parentc28f2420635b7000f7b9cde6cdbe6e7a0f8beed1
mm: use radix_tree_iter_retry()

Instead of a 'goto restart', we can now use radix_tree_iter_retry() to
restart from our current position.  This will make a difference when
there are more ways to happen across an indirect pointer.  And it
eliminates some confusing gotos.

[vbabka@suse.cz: remove now-obsolete-and-misleading comment]
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c
mm/shmem.c