From: Dmitry Kasatkin Date: Wed, 19 Oct 2011 09:04:40 +0000 (+0300) Subject: ima: allocating iint improvements X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~32^2~11^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf2276d10ce58ff44ab8857266a6718024496af6;p=pandora-kernel.git ima: allocating iint improvements With IMA-appraisal's removal of the iint mutex and taking the i_mutex instead, allocating the iint becomes a lot simplier, as we don't need to be concerned with two processes racing to allocate the iint. This patch cleans up and improves performance for allocating the iint. - removed redundant double i_mutex locking - combined iint allocation with tree search Changelog v2: - removed the rwlock/read_lock changes from this patch Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed