On Mon, 20 Apr 2015 16:22:46 +0800 Xunlei Pang <xlp...@126.com> wrote:
> From: Xunlei Pang <pang.xun...@linaro.org> > > 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 <ddstr...@ieee.org> Reviewed-by: Steven Rostedt <rost...@goodmis.org> -- Steve > Signed-off-by: Xunlei Pang <pang.xun...@linaro.org> > --- > v5->v6: > Add more detailed annotations. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/