diff options
| author | Paul E. McKenney <[email protected]> | 2013-04-29 15:06:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 15:54:28 -0700 |
| commit | 8375ad98cc1defc36adf4a77d9ea1e71db51a371 (patch) | |
| tree | b9cb0c43c35ca982c86f638d87bf88cbbf65e70b /tools/perf/scripts/python | |
| parent | 250297edf83292c831fbf4504df54953c2aacfe4 (diff) | |
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 <[email protected]>
Reported-by: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions