From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760097AbbCDKdN (ORCPT ); Wed, 4 Mar 2015 05:33:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50947 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758587AbbCDKdK (ORCPT ); Wed, 4 Mar 2015 05:33:10 -0500 Date: Wed, 4 Mar 2015 11:32:31 +0100 From: Jiri Olsa To: Vince Weaver Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo Subject: Re: perf: fuzzer causes lockup in x86_pmu_event_init() Message-ID: <20150304103231.GE16203@krava> References: <20150225151639.GL5029@twins.programming.kicks-ass.net> <20150228121442.GA1653@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 02, 2015 at 02:13:25PM -0500, Vince Weaver wrote: > On Sat, 28 Feb 2015, Jiri Olsa wrote: > > > hum, I dont see the locking is a problem.. but looks like once > > the sibling becomes singleton event, we dont init its sibling_list > > > > how about patch below.. compile tested ;-) > > so this is instead of PeterZ's patch? I think it's in addition.. Peter? > > I'll start my test-machine fuzzing with this plus the infinite-interrupt > fix and see what happens. The machines do eventually trigger the issue > somwhat consistently but it can take up to a week before they hit it > so it's a tough one to test for. thanks, jirka