Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756293AbZLUAqj (ORCPT ); Sun, 20 Dec 2009 19:46:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756209AbZLUAqi (ORCPT ); Sun, 20 Dec 2009 19:46:38 -0500 Received: from casper.infradead.org ([85.118.1.10]:48878 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756206AbZLUAqi (ORCPT ); Sun, 20 Dec 2009 19:46:38 -0500 Date: Mon, 21 Dec 2009 01:48:48 +0100 From: Arjan van de Ven To: Joe Perches Cc: Peter Zijlstra , San Mehat , Ingo Molnar , lkml Subject: Re: sched: restore sanity Message-ID: <20091221014848.7833c875@infradead.org> In-Reply-To: <1261333310.30458.205.camel@Joe-Laptop.home> References: <1261315437.4314.6.camel@laptop> <20091220144925.GA19608@elte.hu> <1261320715.4314.9.camel@laptop> <236ccac0912200703g464912b1r421497ebf3b6ebc6@mail.gmail.com> <236ccac0912200705i369d00d1v42603a00e92039b6@mail.gmail.com> <1261322387.4314.22.camel@laptop> <1261329743.30458.179.camel@Joe-Laptop.home> <20091220191725.1799eab7@infradead.org> <1261333310.30458.205.camel@Joe-Laptop.home> Organization: Intel X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; i586-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1550 Lines: 43 On Sun, 20 Dec 2009 10:21:50 -0800 Joe Perches wrote: > On Sun, 2009-12-20 at 19:17 +0100, Arjan van de Ven wrote: > > On Sun, 20 Dec 2009 09:22:23 -0800 Joe Perches > > wrote: > > > What are the negatives of using pr_? > > pr_ is really just for "I am a driver and want a single line message > > out in a standardized format". > > Nothing wrong with that. > > > > But here you are changing fundamental kernel outputs in the style > > of an oops message. Multiline, complex and machine parsed things... > > The prefixing was trivial to change. > No other output was modified. but you still have a "multiline message" (the atomic schedule oops like dump) that now is half printk half pr_*... where pr_ is just a silly wrapper around printk now that the prefixing etc is gone. > > I believe kernel log output is specifically _not_ guaranteed > and should not be so guaranteed to remain stable across > versions. changing it gratuitously is bad though. There *are* scripts out there parsing oopses. Yes they change as kernels change, but changing the output of oopses for silly reasons is just hostile > > -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/