diff options
author | Joe Perches <joe@perches.com> | 2012-07-30 21:40:17 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 00:25:14 (GMT) |
commit | 04d2c8c83d0e3ac5f78aeede51babb3236200112 (patch) | |
tree | c32b6197f9487cc18f00e85bdfb935a7a6a92477 /kernel/printk.c | |
parent | b778b3f25baf46dd88f16d51f1682828be0aa2ad (diff) | |
download | linux-fsl-qoriq-04d2c8c83d0e3ac5f78aeede51babb3236200112.tar.xz |
printk: convert the format for KERN_<LEVEL> to a 2 byte pattern
Instead of "<.>", use an ASCII SOH for the KERN_<LEVEL> prefix initiator.
This saves 1 byte per printk, thousands of bytes in a normal kernel.
No output changes are produced as vprintk_emit converts these uses to
"<.>".
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions