From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753900AbYI0AXi (ORCPT ); Fri, 26 Sep 2008 20:23:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752162AbYI0AXa (ORCPT ); Fri, 26 Sep 2008 20:23:30 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:33318 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000AbYI0AX3 (ORCPT ); Fri, 26 Sep 2008 20:23:29 -0400 Date: Fri, 26 Sep 2008 20:23:27 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Linus Torvalds 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 (DEB 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, Linus Torvalds 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). Good point. > > 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. Well, I just compiled it and it didn't have any name collisions, but that doesn't mean that this wont change in the future. What would you suggest? buffer_ ? ringbuf_ ? -- Steve