diff options
author | David Rientjes <rientjes@google.com> | 2014-06-30 16:04:08 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-07-16 13:31:30 +0200 |
commit | 4485154138f6ffa5b252cb490aba3e8eb30124e4 (patch) | |
tree | a6ee27f77fe82c1800e825dedf1f3c04aed258f8 /ipc/msg.c | |
parent | 338b522ca43cfd32d11a370f4203bcd089c6c877 (diff) | |
download | blackbird-op-linux-4485154138f6ffa5b252cb490aba3e8eb30124e4.tar.gz blackbird-op-linux-4485154138f6ffa5b252cb490aba3e8eb30124e4.zip |
perf/x86/intel: Avoid spamming kernel log for BTS buffer failure
It's unnecessary to excessively spam the kernel log anytime the BTS buffer
cannot be allocated, so make this allocation __GFP_NOWARN.
The user probably will want to at least find some artifact that the
allocation has failed in the past, probably due to fragmentation because
of its large size, when it's not allocated at bootstrap. Thus, add a
WARN_ONCE() so something is left behind for them to understand why perf
commnads that require PEBS is not working properly.
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1406301600460.26302@chino.kir.corp.google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions