Speedup 'tb_find_slow' by using the same heuristic as during memory page lookup
authorKirill Batuzov <batuzovk@ispras.ru>
Thu, 2 Dec 2010 13:12:46 +0000 (16:12 +0300)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 5 Dec 2010 08:09:07 +0000 (08:09 +0000)
commit6358d2e8065ce7e57cd1691380a947d5eea21bab
treeba23388055adb31979cc475db0c3b3a51c02e5c9
parent601679a2aa8bf28257afe2b7277998955f711464
Speedup 'tb_find_slow' by using the same heuristic as during memory page lookup

Move the last found TB to the head of the list so it will be found more quickly next time it will be looked for.

Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru>
Signed-off-by: Pavel Yushchenko <pau@ispras.ru>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpu-exec.c