commit | 2c90fe2b71df2534884bce96d90cbfcc93aeedb8 | [log] [tgz] |
---|---|---|
author | Kirill Batuzov <batuzovk@ispras.ru> | Thu Dec 02 16:12:46 2010 +0300 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Dec 05 08:09:07 2010 +0000 |
tree | ba23388055adb31979cc475db0c3b3a51c02e5c9 | |
parent | 53016fa69c1fc7ed257272f36cb84b6623f73332 [diff] |
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>