On Mon, 20 Apr 2015 16:22:46 +0800 Xunlei Pang <[email protected]> wrote:
> From: Xunlei Pang <[email protected]> > > If there're multiple nodes with the same prio as @node, currently > plist_add() will add @node behind all of them. Now we need to add > @node before all of these nodes for SMP RT scheduler. > > This patch adds a common __plist_add() for adding @node before or > after existing nodes with the same prio, then adds plist_add_head() > and plist_add_tail() inline wrapper functions for convenient uses. > > Finally, define plist_add() as plist_add_tail() which has the same > behaviour as before. > > Reviewed-by: Dan Streetman <[email protected]> Reviewed-by: Steven Rostedt <[email protected]> -- Steve > Signed-off-by: Xunlei Pang <[email protected]> > --- > v5->v6: > Add more detailed annotations. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

