summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/amd.c
diff options
context:
space:
mode:
authorLinus Torvalds2011-05-20 06:22:53 +0200
committerLinus Torvalds2011-05-20 06:22:53 +0200
commit257313b2a87795e07a0bdf58d0fffbdba8b31051 (patch)
treeff5043526b0381cdc1f1f68d3c6f8ed3635e0ddb /arch/x86/kernel/cpu/amd.c
parentselinux: de-crapify avc cache stat code generation (diff)
downloadkernel-qcow2-linux-257313b2a87795e07a0bdf58d0fffbdba8b31051.tar.gz
kernel-qcow2-linux-257313b2a87795e07a0bdf58d0fffbdba8b31051.tar.xz
kernel-qcow2-linux-257313b2a87795e07a0bdf58d0fffbdba8b31051.zip
selinux: avoid unnecessary avc cache stat hit count
There is no point in counting hits - we can calculate it from the number of lookups and misses. This makes the avc statistics a bit smaller, and makes the code generation better too. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
0 files changed, 0 insertions, 0 deletions