On Wed, 18 Jul 2012 at 11:03 GMT, Michel Lespinasse <walken@xxxxxxxxxx> wrote: > I previously sent out my rbtree patches against v3.4, however in private > email Andrew notified me that they broke some builds due to some new > rb_init_node calls that have been introduced after v3.4. No big deal > and it's an easy fix, but I forgot to CC the usual lists and now some > people need the fix in order to try out the patches. So here it is :) > > ----- Forwarded message from Michel Lespinasse <walken@xxxxxxxxxx> ----- > > Date: Tue, 17 Jul 2012 17:30:35 -0700 > From: Michel Lespinasse <walken@xxxxxxxxxx> > To: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: Doug Ledford <dledford@xxxxxxxxxx> > Subject: [PATCH] ipc/mqueue: remove unnecessary rb_init_node calls > > Commits d6629859 and ce2d52cc introduced an rbtree of message > priorities, and usage of rb_init_node() to initialize the corresponding > nodes. As it turns out, rb_init_node() is unnecessary here, as the > nodes are fully initialized on insertion by rb_link_node() and the > code doesn't access nodes that aren't inserted on the rbtree. > > Removing the rb_init_node() calls as I removed that function during > rbtree API cleanups (the only other use of it was in a place that similarly > didn't require it). > > Signed-off-by: Michel Lespinasse <walken@xxxxxxxxxx> > Acked-by: Doug Ledford <dledford@xxxxxxxxxx> Reviewed-by: WANG Cong <xiyou.wangcong@xxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>