diff options
author | Joe Perches <joe@perches.com> | 2012-07-30 14:40:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 17:25:14 -0700 |
commit | 04d2c8c83d0e3ac5f78aeede51babb3236200112 (patch) | |
tree | c32b6197f9487cc18f00e85bdfb935a7a6a92477 /kernel | |
parent | b778b3f25baf46dd88f16d51f1682828be0aa2ad (diff) | |
download | linux-04d2c8c83d0e3ac5f78aeede51babb3236200112.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions