summaryrefslogtreecommitdiffstats
path: root/hw/stellaris_enet.c
diff options
context:
space:
mode:
authorKirill Batuzov2010-12-02 14:12:46 +0100
committerBlue Swirl2010-12-05 09:09:07 +0100
commit2c90fe2b71df2534884bce96d90cbfcc93aeedb8 (patch)
treeba23388055adb31979cc475db0c3b3a51c02e5c9 /hw/stellaris_enet.c
parentRemove unused spin_trylock() function (diff)
downloadqemu-2c90fe2b71df2534884bce96d90cbfcc93aeedb8.tar.gz
qemu-2c90fe2b71df2534884bce96d90cbfcc93aeedb8.tar.xz
qemu-2c90fe2b71df2534884bce96d90cbfcc93aeedb8.zip
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>
Diffstat (limited to 'hw/stellaris_enet.c')
0 files changed, 0 insertions, 0 deletions