diff options
| author | Andrzej Hajda <[email protected]> | 2015-02-13 22:36:33 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-14 05:21:36 +0000 |
| commit | 612936f21277d1254dd885de2e383aacdc7ca67f (patch) | |
| tree | 97269bedada361560a20ef8f4fb5a2a44a2f0ef1 /lib/string.c | |
| parent | kernfs: remove KERNFS_STATIC_NAME (diff) | |
| download | kernel-612936f21277d1254dd885de2e383aacdc7ca67f.tar.gz kernel-612936f21277d1254dd885de2e383aacdc7ca67f.zip | |
clk: convert clock name allocations to kstrdup_const
Clock subsystem 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
