On Oct 7 2007 18:44, Ingo Molnar wrote: >> This patch makes it possible to give kernel messages a selectable >> color. It can be chosen at compile time, overridden at boot time, and >> changed at run time. > >here's some (good) text footprint data: > >with the feature disabled (which is the default), the text size >difference with patch #1: > > vmlinux: > text data bss dec hex filename > 7732358 1157269 401408 9291035 8dc51b vmlinux.before > 7732358 1157269 401408 9291035 8dc51b vmlinux.after >
I already posted the numbers. But it seems like the archives like lkml.org or marc.info did not archive them (but i've cc'ed plenty so you did not miss it.). See below. >i.e. no overhead. Text size difference with patch #2: > > 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. ||Date: Sat, 6 Oct 2007 22:09:13 +0200 (CEST) ||Subject: [PATCH 0/2] Colored kernel output (run3) || ||ok, so to make Oleg happy, here is run3 with a bool config option. || ||i386>> || 48679 vt.o w/o anything || 48679 vt.o w/patch1 || 49117 vt.o w/patch1 + CONFIG_VT_CKO=y || 49198 vt.o w/patch1+patch2 + CONFIG_VT_CKO=y ||-------- || 519 total cost of CKO || ||x86_64>> || 71892 vt.o w/patch1+patch2 || 72787 vt.o w/patch1+patch2 + CONFIG_VT_CKO=y ||-------- || 895 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/