commit | 3e406b1d7c1e5c14c84a71eb4bee5f46ba690401 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Fri Nov 06 16:30:15 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Nov 06 17:50:42 2015 -0800 |
tree | a85bd1bbd0f91b3936643cae076a63bd448e4891 | |
parent | eac44a5e07be41a153e52c35c4d7dc0fec23adb3 [diff] |
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>