lkml.org 
[lkml]   [2007]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC][PATCH 1/6] Storing ipcs into IDRs
    From
    Date
    Nadia.Derbey@bull.net writes:

    > This patch introduces ipcs storage into IDRs. The main changes are:
    > . This ipc_ids structure is changed: the entries array is changed into a
    > root idr structure.
    > . The grow_ary() routine is removed: it is not needed anymore when adding
    > an ipc structure, since we are now using the IDR facility.
    > . The ipc_rmid() routine interface is changed:
    > . there is no need for this routine to return the pointer passed in as
    > argument: it is now declared as a void
    > . since the id is now part of the kern_ipc_perm structure, no need to
    > have it as an argument to the routine
    >

    Thanks for doing this work. It was long overdue.

    Do you have any data how this changes memory consumption with
    many objects?

    -Andi
    -
    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-09-02 00:15    [W:0.019 / U:0.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site