Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764207AbXIUWGY (ORCPT ); Fri, 21 Sep 2007 18:06:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932110AbXIUWGN (ORCPT ); Fri, 21 Sep 2007 18:06:13 -0400 Received: from DSL022.labridge.com ([206.117.136.22]:3993 "EHLO perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932096AbXIUWGL (ORCPT ); Fri, 21 Sep 2007 18:06:11 -0400 Subject: Re: [Announce] Linux-tiny project revival From: Joe Perches To: Kyle Moffett Cc: Rob Landley , Indan Zupancic , linux-tiny@selenic.com, Michael Opdenacker , CE Linux Developers List , linux kernel In-Reply-To: <4477DB43-766B-4057-B33D-357A73AF69B0@mac.com> References: <46F1645D.9050406@am.sony.com> <200709201538.43093.rob@landley.net> <59465.81.207.0.53.1190323573.squirrel@secure.samage.net> <200709201818.42125.rob@landley.net> <4477DB43-766B-4057-B33D-357A73AF69B0@mac.com> Content-Type: text/plain Date: Fri, 21 Sep 2007 15:05:34 -0700 Message-Id: <1190412335.32660.55.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2-2.1mdv2007.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 25 On Fri, 2007-09-21 at 17:34 -0400, Kyle Moffett wrote: > With a bit more glue that would cause GCC to notice that for a given > qprintk_kmalloc the "qpk->type" is always zero because the level is > too high, and therefore it would optimize out *ALL* of the > _qprintk_kmalloc(), _qprintk(), and _qprintk_finish() calls. A negative is that lockup conditions swallow partial messages. Another approach that doesn't require any new buffering is: id = printk_block_start(); printk_block(id, fmt, ...) printk_block_end(id) and have print_block output the id when multiple IDs are concurrently issued. This requires a trivial tool to post-process the log when messages are interleaved. - 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/