summaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorAjeet Yadav <ajeet.yadav.77@gmail.com>2011-12-27 10:40:04 +0100
committerPhillip Lougher <phillip@squashfs.org.uk>2011-12-30 02:24:13 +0100
commitd7fbd893388d9e86d29b7cfbd5457bcf03496fbf (patch)
treeea94d043ee3e842f7273391b143a5949afb39975 /tools/virtio
parentSquashfs: Update documentation to include xattrs (diff)
downloadlinux-d7fbd893388d9e86d29b7cfbd5457bcf03496fbf.tar.xz
linux-d7fbd893388d9e86d29b7cfbd5457bcf03496fbf.zip
Squashfs: optimise squashfs_cache_get entry search
squashfs_cache_get() iterates over all entries to search for block its looking for. Often get() / put() are called for same block. If we cache the current entry index, then we can optimise the subsequent *_get() calls. Signed-off-by: Ajeet Yadav <ajeet.yadav.77@gmail.com> Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions