diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-11-06 16:30:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-06 17:50:42 -0800 |
commit | 3e406b1d7c1e5c14c84a71eb4bee5f46ba690401 (patch) | |
tree | a85bd1bbd0f91b3936643cae076a63bd448e4891 /lib/vsprintf.c | |
parent | eac44a5e07be41a153e52c35c4d7dc0fec23adb3 (diff) | |
download | linux-3e406b1d7c1e5c14c84a71eb4bee5f46ba690401.tar.gz linux-3e406b1d7c1e5c14c84a71eb4bee5f46ba690401.tar.bz2 linux-3e406b1d7c1e5c14c84a71eb4bee5f46ba690401.zip |
lib/dynamic_debug.c: use kstrdup_const
Using kstrdup_const, thus reusing .rodata when possible, saves around 2 kB
of runtime memory on my laptop/.config combination.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Jason Baron <jbaron@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions