lkml.org 
[lkml]   [2007]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] sched domain sysctl: free kstrdup allocations

    * Milton Miller <miltonm@bga.com> wrote:

    > The procnames for the cpu and domain were allocated via kstrdup and so
    > should also be freed. The names for the files are static, but we can
    > differentiate them by the presence of the proc_handler. If a kstrdup
    > (of < 32 characters) fails the sysctl code will not see the procname
    > or remaining table entries, but any child tables and names will be
    > reclaimed upon free.

    thanks, applied.

    Ingo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-10-16 10:47    [W:0.022 / U:1.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site