From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755318AbXJGRJD (ORCPT ); Sun, 7 Oct 2007 13:09:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752500AbXJGRIy (ORCPT ); Sun, 7 Oct 2007 13:08:54 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:55299 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983AbXJGRIx (ORCPT ); Sun, 7 Oct 2007 13:08:53 -0400 Date: Sun, 7 Oct 2007 19:08:45 +0200 From: Ingo Molnar To: Jan Engelhardt Cc: Linux Kernel Mailing List , Oleg Verych Subject: Re: [PATCH 1/2] Colored kernel output (run3) Message-ID: <20071007170845.GD32139@elte.hu> References: <20071007163824.GA30063@elte.hu> <20071007164452.GA30429@elte.hu> <20071007165953.GB32139@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.14 (2007-02-12) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.1 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.1 required=5.9 tests=BAYES_05 autolearn=no SpamAssassin version=3.1.7-deb -1.1 BAYES_05 BODY: Bayesian spam probability is 1 to 5% [score: 0.0121] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Jan Engelhardt wrote: > > On Oct 7 2007 18:59, Ingo Molnar wrote: > >> > vmlinux: > >> > text data bss dec hex filename > >> > 7732358 1157269 401408 9291035 8dc51b vmlinux.before > >> > 7732374 1157269 401408 9291051 8dc52b vmlinux.after > >> > > >> >16 bytes, or 0.0002% of the total text size. So there's in essence no > >> >text overhead to talk about. So the text overhead argument is a red > >> >herring. > >> > >> 16 bytes, huh? Can't be. That would be like, perhaps 5, x86 instructions. > > > >yes, it's that low, and it's with the feature disabled. > > Ah, with CONFIG_CKO=n, right. But where does that 16 byte increase > come from, when vt.o itself remains constant in size? comes from printk.o: text data bss dec hex filename 6068 231 17636 23935 5d7f kernel/printk.o 6075 231 17636 23942 5d86 kernel/printk.o the effect of the extra parameter. But that is not worth #ifdef-ing for. For all practical purposes there's no overhead. Ingo