Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761276AbXI1Jps (ORCPT ); Fri, 28 Sep 2007 05:45:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758728AbXI1JpW (ORCPT ); Fri, 28 Sep 2007 05:45:22 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:52738 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759703AbXI1JpU (ORCPT ); Fri, 28 Sep 2007 05:45:20 -0400 Date: Fri, 28 Sep 2007 11:45:18 +0200 (CEST) From: Jan Engelhardt To: Vegard Nossum cc: LKML , Kyle Moffett , Michael Holzheu , Joe Perches , Rob Landley , Dick Streefland , Geert Uytterhoeven , Jesse Barnes , Arnd Bergmann , Emil Medve , Stephen Hemminger , "linux@horizon.com" Subject: Re: [RFC] New kernel-message logging API (take 2) In-Reply-To: <19f34abd0709271418l471cf7b9gf24161190772fac@mail.gmail.com> Message-ID: References: <19f34abd0709271418l471cf7b9gf24161190772fac@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 947 Lines: 21 On Sep 27 2007 23:18, Vegard Nossum wrote: > * kprint_() is better than kprint( case of the default log-level, the argument can be omitted. > * Memory allocated for entries and arguments is done in a ring-buffer > with variable-sized chunks. Arguments are chained with a singly- > linked list. > * Use SUBSYSTEM and KBUILD_MODNAME > * Rename kprint buffers to kprint blocks This is overall, quite a lot. I suggest one-thing-at-a-time, starting with kprint_() that is compiled out if desired and no fancy block or newline stuff. _Then_, will see how it flies. All of this smells like a bit of overdesigning, aka http://en.wikipedia.org/wiki/YAGNI - 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/