[lkml]   [2007]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/4] stringbuf: A string buffer implementation

    On Tue, 2007-10-23 at 20:35 -0600, Matthew Wilcox wrote:


    > > Multiple string objects can share the same data, by increasing the nrefs
    > > count, a new data is allocated if the string is modified and nrefs > 1.
    > If we were trying to get rid of char * throughout the kernel, that might
    > make some sense; stringbufs have a more limited target though.


    No contest, my suggestions only make sense for a general uses string

    I suspect most in-kernel string manipulations are limited to prepare
    buffers to be copied to (and read from) user-space.

    - Eric

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-10-24 04:51    [W:0.034 / U:22.688 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site