From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754091AbYI0AQe (ORCPT ); Fri, 26 Sep 2008 20:16:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752742AbYI0AQ0 (ORCPT ); Fri, 26 Sep 2008 20:16:26 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:55466 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752332AbYI0AQY (ORCPT ); Fri, 26 Sep 2008 20:16:24 -0400 Date: Fri, 26 Sep 2008 17:13:36 -0700 (PDT) From: Linus Torvalds To: Steven Rostedt cc: Arnaldo Carvalho de Melo , LKML , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , prasad@linux.vnet.ibm.com, Mathieu Desnoyers , "Frank Ch. Eigler" , David Wilder , hch@lst.de, Martin Bligh , Christoph Hellwig , Masami Hiramatsu , Steven Rostedt Subject: Re: [PATCH v6] Unified trace buffer In-Reply-To: Message-ID: References: <20080925185154.230259579@goodmis.org> <20080925185236.244343232@goodmis.org> <48DC406D.1050508@redhat.com> <20080926223129.GF15446@ghostprotocols.net> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Sep 2008, Steven Rostedt wrote: > > I started using the rb_ because I was constantly breaking the 80 character > line limit with ring_buffer ;-) OK, for v8, I'll rename all static > internal functions to rb_ and keep the global ones ring_buffer_ It would probably be better to use something else than 'rb_', because that prefix is already used by the red-black trees, and exported as such (eg "rb_next()" etc). But at least as long as it's static, it's probably not _too_ noticeable if the rest of the names don't overlap. We _do_ include almost everywhere, since we use those things in the VM, in timers etc, so it comes in through pretty much all headers. Linus