summaryrefslogtreecommitdiffstats
path: root/include/rxrpc
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-04-30 00:06:13 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 00:54:28 +0200
commit8375ad98cc1defc36adf4a77d9ea1e71db51a371 (patch)
treeb9cb0c43c35ca982c86f638d87bf88cbbf65e70b /include/rxrpc
parentmm/shmem.c: remove an ifdef (diff)
downloadlinux-8375ad98cc1defc36adf4a77d9ea1e71db51a371.tar.xz
linux-8375ad98cc1defc36adf4a77d9ea1e71db51a371.zip
vm: adjust ifdef for TINY_RCU
There is an ifdef in page_cache_get_speculative() that checks for !SMP and TREE_RCU, which has been an impossible combination since the advent of TINY_RCU. The ifdef enables a fastpath that is valid when preemption is disabled by rcu_read_lock() in UP systems, which is the case when TINY_RCU is enabled. This commit therefore adjusts the ifdef to generate the fastpath when TINY_RCU is enabled. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reported-by: Andi Kleen <andi@firstfloor.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions