From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757627AbcIHDgT (ORCPT ); Wed, 7 Sep 2016 23:36:19 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:35009 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752901AbcIHDgM (ORCPT ); Wed, 7 Sep 2016 23:36:12 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Wed, 7 Sep 2016 23:36:06 -0400 (EDT) X-X-Sender: vince@macbook-air To: Alexander Shishkin cc: Ingo Molnar , Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, eranian@google.com, Arnaldo Carvalho de Melo , vincent.weaver@maine.edu Subject: Re: [PATCH v2 0/5] perf, bts: Fallout from the fuzzer for perf/urgent In-Reply-To: <87k2enk1al.fsf@ashishki-desk.ger.corp.intel.com> Message-ID: References: <20160906132353.19887-1-alexander.shishkin@linux.intel.com> <20160906171915.GA8963@gmail.com> <87mvjjka7u.fsf@ashishki-desk.ger.corp.intel.com> <87k2enk1al.fsf@ashishki-desk.ger.corp.intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Sep 2016, Alexander Shishkin wrote: > Vince Weaver writes: > > > On Wed, 7 Sep 2016, Alexander Shishkin wrote: > > > >> Sure. And yes, I did catch a warning, which calls for one more patch > >> (below). Also one unrelated thing in PEBS that Peter fixed. > > > > Does that fix this which I just got on my skylake machine (4.8-rc5 with > > your other 5 patches applied) > > > > [ 5351.822559] WARNING: CPU: 3 PID: 19191 at arch/x86/events/intel/bts.c:344 event_function+0xa1/0x160 > > Yes, it fixes a problem that triggered this warning. Can't tell from the > absence of backtrace what's going on here, though. On the skylake machine with the original 5 patches I got this after continuing to fuzz. Sorry about the lack of frame pointer, next compile will have it enabled. If it matters, prior to this I hit the unrelated [25510.278199] WARNING: CPU: 1 PID: 25405 at kernel/events/core.c:3554 perf_event_read+0x18f/0x1a0 [28682.174684] WARNING: CPU: 7 PID: 31992 at kernel/events/core.c:4961 perf_mmap_close+0x2e1/0x2f0 [28682.280579] CPU: 7 PID: 31992 Comm: perf_fuzzer Tainted: G W 4.8.0-rc5+ #3 [28682.288739] Hardware name: LENOVO 10FY0017US/SKYBAY, BIOS FWKT53A 06/06/2016 [28682.296096] 0000000000000286 000000008e07b373 ffffffff8cf1f9f5 0000000000000000 [28682.303738] 0000000000000000 ffffffff8cc7b624 ffff9c676e780e00 ffff9c676e029280 [28682.311362] ffff9c6772ab3398 ffff9c676e029000 ffff9c676e780bb0 ffff9c676f7c0280 [28682.319036] Call Trace: [28682.321529] [] ? dump_stack+0x5c/0x77 [28682.326939] [] ? __warn+0xc4/0xe0 [28682.332018] [] ? perf_mmap_close+0x2e1/0x2f0 [28682.338083] [] ? perf_iterate_ctx+0x150/0x150 [28682.344218] [] ? remove_vma+0x2d/0x70 [28682.349662] [] ? do_munmap+0x246/0x400 [28682.355197] [] ? SyS_munmap+0x4b/0x70 [28682.360612] [] ? do_syscall_64+0x5f/0x160 [28682.366404] [] ? entry_SYSCALL64_slow_path+0x25/0x25 [28682.373149] ---[ end trace bc7b0b7d0c024d62 ]--- [28682.377975] ------------[ cut here ]------------ [28682.382681] WARNING: CPU: 4 PID: 0 at kernel/events/ring_buffer.c:543 __rb_free_aux+0x110/0x120 [28682.489412] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G W 4.8.0-rc5+ #3 [28682.498106] Hardware name: LENOVO 10FY0017US/SKYBAY, BIOS FWKT53A 06/06/2016 [28682.506518] 0000000000000086 6d2f07ae6326ed5e ffffffff8cf1f9f5 0000000000000000 [28682.515223] 0000000000000000 ffffffff8cc7b624 ffff9c676e780e00 ffff9c677dd0b740 [28682.523996] 0000000000000000 ffff9c676e029000 ffff9c676e780e00 00001a16168dab54 [28682.532867] Call Trace: [28682.536458] [] ? dump_stack+0x5c/0x77 [28682.543615] [] ? __warn+0xc4/0xe0 [28682.549741] [] ? __rb_free_aux+0x110/0x120 [28682.556829] [] ? perf_aux_output_end+0xba/0x100 [28682.564312] [] ? bts_event_stop+0xc1/0x130 [28682.571238] [] ? perf_cgroup_attach+0x70/0x70 [28682.578402] [] ? __perf_event_stop+0x40/0x60 [28682.585484] [] ? remote_function+0x3a/0x40 [28682.592644] [] ? flush_smp_call_function_queue+0x76/0x160 [28682.600867] [] ? smp_trace_call_function_single_interrupt+0x29/0xc0 [28682.609914] [] ? trace_call_function_single_interrupt+0x82/0x90 [28682.618608] [] ? cpuidle_enter_state+0x113/0x260 [28682.626570] [] ? cpu_startup_entry+0x2cc/0x370 [28682.633675] [] ? start_secondary+0x14d/0x190 [28682.640749] ---[ end trace bc7b0b7d0c024d63 ]---