On Thu, Apr 10, 2014 at 07:36:10PM +0200, Peter Zijlstra wrote:> > > +static inline __deprecated> > > +struct task_struct *next_thread(const struct task_struct *p)> > > {> > > > Not sure... But probably fine too.Also, since its used in while_each_thread() each usage of that will alsogenerate an appropriate warn.