[RFC PATCH 0/3] printk: Use a non-printable ASCII SOH for KERN_<LEVEL>

From: Joe Perches
Date: Thu May 24 2012 - 18:49:32 EST


printk uses "<.>" as a start of record indicator.
This can waste a bit of space and causes a bit of
contortion to get a printk emitted that happens to
starts with "<.>".

Use ASCII Start-of-Header (0x01) as the KERN_LEVEL
initiator and save ~10K in an x86 defconfig.

Joe Perches (3):
printk: Use a non-printable ASCII KERN_<LEVEL> initiator
treewide: Fix declaration and uses of old KERN_<LEVEL> style
printk: Set KERN_CONT to ""

arch/arm/lib/io-acorn.S | 4 +++-
arch/arm/vfp/vfphw.S | 8 +++++---
arch/frv/kernel/kernel_thread.S | 2 +-
drivers/staging/wlags49_h2/hcf.c | 8 ++++----
drivers/staging/wlags49_h2/wl_main.c | 4 ++--
fs/btrfs/super.c | 9 +++++----
include/linux/printk.h | 23 +++++++++++++----------
kernel/printk.c | 6 +++---
net/bridge/netfilter/ebt_log.c | 2 +-
sound/core/misc.c | 8 ++++----
10 files changed, 41 insertions(+), 33 deletions(-)

--
1.7.8.111.gad25c.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/