android_kernel_oneplus_msm8998/fs/squashfs
Ajeet Yadav d7fbd89338 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>
2011-12-30 01:24:13 +00:00
..
block.c
cache.c Squashfs: optimise squashfs_cache_get entry search 2011-12-30 01:24:13 +00:00
decompressor.c
decompressor.h
dir.c
export.c
file.c
fragment.c
id.c
inode.c
Kconfig
lzo_wrapper.c
Makefile
namei.c
squashfs.h
squashfs_fs.h
squashfs_fs_i.h
squashfs_fs_sb.h Squashfs: optimise squashfs_cache_get entry search 2011-12-30 01:24:13 +00:00
super.c
symlink.c
xattr.c
xattr.h
xattr_id.c
xz_wrapper.c
zlib_wrapper.c