aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorAndrzej Hajda <[email protected]>2015-02-13 22:36:27 +0000
committerLinus Torvalds <[email protected]>2015-02-14 05:21:35 +0000
commit75287a677ba1beab7ca0db948468f44eb23a709f (patch)
tree94ce4c696199aac8372d9e6e5a5162bad64fc54c /lib/bitmap.c
parentmm/util: add kstrdup_const (diff)
downloadkernel-75287a677ba1beab7ca0db948468f44eb23a709f.tar.gz
kernel-75287a677ba1beab7ca0db948468f44eb23a709f.zip
kernfs: convert node name allocation to kstrdup_const
sysfs 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]> Acked-by: 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/bitmap.c')
0 files changed, 0 insertions, 0 deletions