From: Paul Moore Date: Thu, 26 Jun 2014 18:33:56 +0000 (-0400) Subject: selinux: reduce the number of calls to synchronize_net() when flushing caches X-Git-Tag: omap-for-v3.17/fixes-against-rc2~100^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=615e51fdda6f274e94b1e905fcaf6111e0d9aa20;p=pandora-kernel.git selinux: reduce the number of calls to synchronize_net() when flushing caches When flushing the AVC, such as during a policy load, the various network caches are also flushed, with each making a call to synchronize_net() which has shown to be expensive in some cases. This patch consolidates the network cache flushes into a single AVC callback which only calls synchronize_net() once for each AVC cache flush. Reported-by: Jaejyn Shin Signed-off-by: Paul Moore --- Reading git-diff-tree failed