summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorNick Piggin2008-07-26 04:45:31 +0200
committerLinus Torvalds2008-07-26 21:00:06 +0200
commita60637c85893e7191faaafa6a72e197c24386727 (patch)
treefa3ec63f505e64d3b4a2be4efd9a5314ab5f6234 /mm/page-writeback.c
parentmm: speculative page references (diff)
downloadkernel-qcow2-linux-a60637c85893e7191faaafa6a72e197c24386727.tar.gz
kernel-qcow2-linux-a60637c85893e7191faaafa6a72e197c24386727.tar.xz
kernel-qcow2-linux-a60637c85893e7191faaafa6a72e197c24386727.zip
mm: lockless pagecache
Combine page_cache_get_speculative with lockless radix tree lookups to introduce lockless page cache lookups (ie. no mapping->tree_lock on the read-side). The only atomicity changes this introduces is that the gang pagecache lookup functions now behave as if they are implemented with multiple find_get_page calls, rather than operating on a snapshot of the pages. In practice, this atomicity guarantee is not used anyway, and it is to replace individual lookups, so these semantics are natural. 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 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions