Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756356AbbEUN3c (ORCPT ); Thu, 21 May 2015 09:29:32 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:37347 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754865AbbEUN31 convert rfc822-to-8bit (ORCPT ); Thu, 21 May 2015 09:29:27 -0400 Message-ID: <1432214957.30671.0.camel@twins> Subject: Re: [PATCH 01/10] perf,x86: Fix event/group validation From: Peter Zijlstra To: Stephane Eranian Cc: Ingo Molnar , Vince Weaver , Jiri Olsa , "Liang, Kan" , LKML , Andrew Hunter , Maria Dimakopoulou Date: Thu, 21 May 2015 15:29:17 +0200 In-Reply-To: References: <20150521111710.475482798@infradead.org> <20150521111932.592505273@infradead.org> <20150521125615.GO3644@twins.programming.kicks-ass.net> <20150521130952.GQ3644@twins.programming.kicks-ass.net> <20150521132015.GS3644@twins.programming.kicks-ass.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 543 Lines: 13 On Thu, 2015-05-21 at 06:27 -0700, Stephane Eranian wrote: > Or are you talking about a preemption while executing x86_schedule_events()? That. And we can of course cure that by an earlier patch I send; but I find it a much simpler rule to just never allow modifying global state for validation. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/