summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorYan, Zheng2015-05-06 21:33:52 +0200
committerIngo Molnar2015-06-07 16:08:57 +0200
commit156174999dd1d0fe8732f5a05f4e9cef921ad487 (patch)
tree75b5fd291e0d587fddc8f97263fafbcc30a282b4 /security/security.c
parentperf/x86/intel: Drain the PEBS buffer during context switches (diff)
downloadkernel-qcow2-linux-156174999dd1d0fe8732f5a05f4e9cef921ad487.tar.gz
kernel-qcow2-linux-156174999dd1d0fe8732f5a05f4e9cef921ad487.tar.xz
kernel-qcow2-linux-156174999dd1d0fe8732f5a05f4e9cef921ad487.zip
perf/intel/x86: Enlarge the PEBS buffer
Currently the PEBS buffer size is 4k, it can only hold about 21 PEBS records. This patch enlarges the PEBS buffer size to 64k (the same as the BTS buffer). 64k memory can hold about 330 PEBS records. This will significantly reduce the number of PMIs when batched PEBS interrupts are enabled. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Signed-off-by: Kan Liang <kan.liang@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: acme@infradead.org Cc: eranian@google.com Link: http://lkml.kernel.org/r/1430940834-8964-7-git-send-email-kan.liang@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions