Andrey Ryabinin
0a373d4fc2
x86/unwinder/guess: Prevent using CONFIG_UNWINDER_GUESS=y with CONFIG_STACKDEPOT=y
...
Stackdepot doesn't work well with CONFIG_UNWINDER_GUESS=y.
The 'guess' unwinder generate awfully large and inaccurate stacktraces,
thus stackdepot can't deduplicate stacktraces because they all look like
unique. Eventually stackdepot reaches its capacity limit:
WARNING: CPU: 0 PID: 545 at lib/stackdepot.c:119 depot_save_stack+0x28e/0x550
Call Trace:
? kasan_kmalloc+0x144/0x160
? depot_save_stack+0x1f5/0x550
? do_raw_spin_unlock+0xda/0xf0
? preempt_count_sub+0x13/0xc0
<...90 lines...>
? do_raw_spin_unlock+0xda/0xf0
Add a STACKDEPOT=n dependency to UNWINDER_GUESS to avoid the problem.
Reported-by: kernel test robot <xiaolong.ye@intel.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20171130123554.4330-1-aryabinin@virtuozzo.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-12-11 19:07:07 +01:00
..
2017-12-11 18:55:38 +01:00
2017-10-14 10:12:12 +02:00
2017-11-06 09:05:03 -08:00
2017-12-06 21:31:46 +01:00
2017-11-17 16:22:30 +01:00
2017-11-10 10:03:12 +01:00
2017-11-02 11:10:55 +01:00
2017-12-06 12:27:13 +01:00
2017-12-07 10:28:22 +01:00
2017-11-07 10:32:44 +01:00
2017-11-24 08:36:12 +01:00
2017-11-02 11:10:55 +01:00
2017-12-11 15:35:18 +01:00
2017-10-03 16:04:44 -07:00
2017-11-08 13:01:54 +01:00
2017-12-06 12:27:47 +01:00
2017-12-06 19:32:58 +01:00
2017-12-06 12:29:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-07 15:35:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-07 10:53:06 +01:00
2017-11-28 00:28:56 +01:00
2017-09-07 09:25:15 -07:00
2017-11-22 07:18:35 +01:00
2017-11-02 11:10:55 +01:00
2017-12-11 19:07:07 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00