Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933036AbZINSZF (ORCPT ); Mon, 14 Sep 2009 14:25:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933015AbZINSZC (ORCPT ); Mon, 14 Sep 2009 14:25:02 -0400 Received: from casper.infradead.org ([85.118.1.10]:48736 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932983AbZINSZA (ORCPT ); Mon, 14 Sep 2009 14:25:00 -0400 Subject: Re: Warning from ring buffer code (Was: Re: linux-next: tip tree build warning) From: Peter Zijlstra To: Steven Rostedt Cc: Christopher Li , Jaswinder Singh Rajput , Ingo Molnar , Stephen Rothwell , Thomas Gleixner , "H. Peter Anvin" , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sparse@vger.kernel.org, Josh Triplett , Frederic Weisbecker In-Reply-To: <1252952238.2964.154.camel@localhost.localdomain> References: <20090804161640.70817ee6.sfr@canb.auug.org.au> <1249403089.4634.139.camel@localhost.localdomain> <20090912165300.9d257283.sfr@canb.auug.org.au> <20090912073906.GA3972@elte.hu> <1252753957.12217.10.camel@ht.satnam> <1252941416.2964.143.camel@localhost.localdomain> <70318cbf0909141009v46581785m4c70edf31fcb79fa@mail.gmail.com> <1252952238.2964.154.camel@localhost.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 14 Sep 2009 20:23:41 +0200 Message-Id: <1252952621.31964.0.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 637 Lines: 13 On Mon, 2009-09-14 at 14:17 -0400, Steven Rostedt wrote: > Frederic, how big can one of those events get. The ring buffer (and > TRACE_EVENT) allow up to almost a page size, which is very hefty for the > stack. This code needs to either be rewritten or we need to set a limit > to the size of a profile entry. Yeah, that needs to get a re-write.. I've complained about this when it went in. -- 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/