lkml.org 
[lkml]   [2015]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/5] kstrdup optimization
    On Tue, Jan 13, 2015 at 03:37:31PM -0800, Andrew Morton wrote:
    > What the heck does (the cheerily undocumented) KERNFS_STATIC_NAME do
    > and can we remove it if this patchset is in place?

    The same thing, in a narrower scope. It's currently used to avoid
    making copies of sysfs file names which are required to stay unchanged
    and accessible and usually allocated in the rodata section, but the
    sysfs directory and all group file names are copied. So, yeah, once
    this is in, we can remove the explicit static name handling from
    kernfs.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2015-01-14 15:41    [W:2.692 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site