From: Ajeet Yadav Date: Tue, 27 Dec 2011 09:40:04 +0000 (+0530) Subject: Squashfs: optimise squashfs_cache_get entry search X-Git-Tag: v3.3-rc1~76^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7fbd893388d9e86d29b7cfbd5457bcf03496fbf;p=pandora-kernel.git 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 Signed-off-by: Phillip Lougher --- Reading git-diff-tree failed