summaryrefslogtreecommitdiffstats
path: root/lib/radix-tree.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2008-07-26 04:45:28 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 21:00:06 +0200
commit30002ed2e41830ec03ec3e577ad83ac6b188f96e (patch)
tree13896f3038e391eb41246455239d7678cf51b011 /lib/radix-tree.c
parentx86: support 1GB hugepages with get_user_pages_lockless() (diff)
downloadlinux-30002ed2e41830ec03ec3e577ad83ac6b188f96e.tar.xz
linux-30002ed2e41830ec03ec3e577ad83ac6b188f96e.zip
mm: readahead scan lockless
radix_tree_next_hole() is implemented as a series of radix_tree_lookup()s. So it can be called locklessly, under rcu_read_lock(). Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Hugh Dickins <hugh@veritas.com> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Reviewed-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions