Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765097AbXIMFLh (ORCPT ); Thu, 13 Sep 2007 01:11:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754315AbXIMFL2 (ORCPT ); Thu, 13 Sep 2007 01:11:28 -0400 Received: from DSL022.labridge.com ([206.117.136.22]:1454 "EHLO perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914AbXIMFL1 (ORCPT ); Thu, 13 Sep 2007 01:11:27 -0400 Subject: RE: [PATCH v3] Make the pr_*() family of macros in kernel.h complete From: Joe Perches To: Medve Emilian-EMMEDVE1 Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, i2c@lm-sensors.org, linux-omap-open-source@linux.omap.com In-Reply-To: <598D5675D34BE349929AF5EDE9B03E27014F9FDA@az33exm24.fsl.freescale.net> References: <11896151802410-git-send-email-Emilian.Medve@Freescale.com> <598D5675D34BE349929AF5EDE9B03E27014F9FDA@az33exm24.fsl.freescale.net> Content-Type: text/plain Date: Wed, 12 Sep 2007 22:11:14 -0700 Message-Id: <1189660274.19708.125.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: 1061 Lines: 28 On Wed, 2007-09-12 at 11:44 -0700, Medve Emilian-EMMEDVE1 wrote: > First, this patch doesn't have the trailing "\n" problem that one had. I expect all the kernel logging functions to be overhauled eventually. I'd prefer a mechanism that somehow supports identifying complete messages. I think the new pr_ functions are not particularly useful without a mechanism to avoid or identify multiple processors or threads interleaving partial in-progress multiple statement messages. I've got a very large patch series that converts _all_ the current single line messages that use KERN_ to pr_ and identifies, prefixes and postfixes the rest of the multiple source line messages. At some point, sooner or later, the logging functions will be improved. Apparently, more likely later. cheers, Joe - 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/