lkml.org 
[lkml]   [2010]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] rbtree: Introduce rb_for_each_entry
    Em Wed, Jan 13, 2010 at 02:34:45PM +0100, Frederic Weisbecker escreveu:
    > On Wed, Jan 13, 2010 at 02:16:09PM +0100, Peter Zijlstra wrote:
    > > On Wed, 2010-01-13 at 11:01 -0200, Arnaldo Carvalho de Melo wrote:
    > > > From: Arnaldo Carvalho de Melo <acme@redhat.com>
    > > >
    > > > Similar to list_for_each_entry, helps reducing boilerplate in many
    > > > places and makes rbtrees closer to list.h macros.
    > > >
    > > > First conversion will be in the tools/perf.
    > >
    > > I'm still not sure you really want to do this, it might give people the
    > > impression its a sane thing to do ;-)
    >
    > At least it matches many patterns in perf :)

    What an insane piece of... software! 8-) Whatever, if it makes Peter
    happy we can keep it on tools/perf/util/include/linux/rbtree.h, just
    after the:

    #include "../../../../include/linux/rbtree.h"

    ;-)

    Just like we have list_del_range() in tools/perf/util/include/linux/list.h.

    - Arnaldo


    \
     
     \ /
      Last update: 2010-01-13 14:55    [W:0.020 / U:0.368 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site