Re: perf: fuzzer causes lockup in x86_pmu_event_init()

From: Peter Zijlstra
Date: Tue Mar 17 2015 - 10:11:43 EST


On Tue, Mar 17, 2015 at 02:55:36PM +0100, Jiri Olsa wrote:
> 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'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.
>
> I guess no news is good news in here.. ;-)
>
> Peter, should I repost formal patch or you'll take it somehow

Yeah, please send with a proper changelog, I'll stuff it in someplace.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/