aboutsummaryrefslogtreecommitdiff
path: root/cputlb.c
diff options
context:
space:
mode:
authorSergey Fedorov <serge.fdrv@gmail.com>2016-04-25 18:17:30 +0300
committerRichard Henderson <rth@twiddle.net>2016-05-12 14:06:42 -1000
commita0522c7a55cc8ac76d82884cf8e52f76daa664cc (patch)
treedd7ea25b77fb21a5d3b80e7dde3e09fb59226718 /cputlb.c
parent6f789be56d3f38e9214dafcfab3bf9be7191f370 (diff)
cpu-exec: Move TB chaining into tb_find_fast()
Move tb_add_jump() call and surrounding code from cpu_exec() into tb_find_fast(). That simplifies cpu_exec() a little by hiding the direct chaining optimization details into tb_find_fast(). It also allows to move tb_lock()/tb_unlock() pair into tb_find_fast(), putting it closer to tb_find_slow() which also manipulates the lock. Suggested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com> Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net> [rth: Fixed rebase typo in nochain test.]
Diffstat (limited to 'cputlb.c')
0 files changed, 0 insertions, 0 deletions