[lkml]   [2004]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][PATCH] Put size in array to get rid of barriers in grow_ary()
    On Fri, 10 Sep 2004, Paul E. McKenney wrote:
    > On Wed, Sep 08, 2004 at 03:07:53PM -0700, Paul E. McKenney wrote:
    > > On Wed, Sep 08, 2004 at 04:39:43PM +0100, Hugh Dickins wrote:
    > > > Wouldn't it be a little nicer to start ipc_ids off pointing to a
    > > > const ipc_id_ary of size 0, to avoid the various entries == NULL
    > > > tests you had to add?
    > >
    > > I like this one!!! Will put a patch together. Manfred's recent
    > > patch applied a refcount, which negates the const part, but should
    > > be no problem to put a size-zero structure in the struct ipc_ids.
    > > (Having a separately allocated structure puts me back to checking
    > > NULL pointers due to possibility of allocation failure.)
    > And here, finally, is the updated patch. Still untested.

    That looks good, Paul, thank you. (But I too have not tested.)


    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: 2005-03-22 14:06    [W:0.019 / U:25.208 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site