From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755355Ab0FXNCh (ORCPT ); Thu, 24 Jun 2010 09:02:37 -0400 Received: from one.firstfloor.org ([213.235.205.2]:58323 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754810Ab0FXNCg (ORCPT ); Thu, 24 Jun 2010 09:02:36 -0400 Date: Thu, 24 Jun 2010 15:02:34 +0200 From: Andi Kleen To: Ingo Molnar Cc: Peter Zijlstra , Andi Kleen , Huang Ying , "H. Peter Anvin" , Borislav Petkov , linux-kernel@vger.kernel.org, mauro@elte.hu Subject: Re: [RFC][PATCH] irq_work Message-ID: <20100624130234.GM578@basil.fritz.box> References: <1277364727.1875.857.camel@laptop> <20100624102725.GA578@basil.fritz.box> <1277375409.1875.943.camel@laptop> <20100624105254.GB578@basil.fritz.box> <1277377121.1875.948.camel@laptop> <20100624110830.GC578@basil.fritz.box> <1277377852.1875.950.camel@laptop> <20100624112340.GA13502@elte.hu> <1277379294.1875.959.camel@laptop> <20100624123537.GA28884@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624123537.GA28884@elte.hu> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 24, 2010 at 02:35:37PM +0200, Ingo Molnar wrote: > All of these solutions use the fact that perf events are a generic event > framework. If there's any missing details somewhere then fixes/enhancements > can be added - right now our in-kernel event consumers are simple. But the > design is sound. One immediate problem that comes to mind with the proposal is that if the event is of a type that cannot be dropped (e.g. an error that needs to be handled) then a shared ring buffer cannot guarantee that. -Andi -- ak@linux.intel.com -- Speaking for myself only.