Messages in this thread | | | From | Joe Perches <> | Subject | [RFC PATCH 0/3] printk: Use a non-printable ASCII SOH for KERN_<LEVEL> | Date | Thu, 24 May 2012 15:49:30 -0700 |
| |
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
| |