aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorAndrzej Hajda <[email protected]>2015-02-13 22:36:41 +0000
committerLinus Torvalds <[email protected]>2015-02-14 05:21:36 +0000
commitfcc139ae227b97bd81352e9102d8e79498d1e930 (patch)
treeba99b24ed6f6a39193e12dc35e10406b0332c6f3 /lib/string.c
parentmm/slab: convert cache name allocations to kstrdup_const (diff)
downloadkernel-fcc139ae227b97bd81352e9102d8e79498d1e930.tar.gz
kernel-fcc139ae227b97bd81352e9102d8e79498d1e930.zip
fs/namespace: convert devname allocation to kstrdup_const
VFS frequently performs duplication of strings located in read-only memory section. Replacing kstrdup by kstrdup_const allows to avoid such operations. Signed-off-by: Andrzej Hajda <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Mike Turquette <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Greg KH <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions