Re: [patch 02/34] arch: Consolidate tsk_is_polling()

2013-03-22 Thread Thomas Gleixner
On Fri, 22 Mar 2013, Tony Breeds wrote: > On Thu, Mar 21, 2013 at 09:52:57PM -, Thomas Gleixner wrote: > > > +/* > > + * Idle thread specific functions to determine the need_resched > > + * polling state. We have two versions, one based on TS_POLLING in > > + * thread_info.status and one bas

Re: [patch 02/34] arch: Consolidate tsk_is_polling()

2013-03-21 Thread Tony Breeds
On Thu, Mar 21, 2013 at 09:52:57PM -, Thomas Gleixner wrote: > +/* > + * Idle thread specific functions to determine the need_resched > + * polling state. We have two versions, one based on TS_POLLING in > + * thread_info.status and one based on TIF_POLLING_NRFLAG in > + * thread_info.flags >

Re: [patch 02/34] arch: Consolidate tsk_is_polling()

2013-03-21 Thread Tony Breeds
On Thu, Mar 21, 2013 at 09:52:57PM -, Thomas Gleixner wrote: > Index: linux-2.6/arch/powerpc/include/asm/thread_info.h > === > --- linux-2.6.orig/arch/powerpc/include/asm/thread_info.h > +++ linux-2.6/arch/powerpc/include/asm/thre

[patch 02/34] arch: Consolidate tsk_is_polling()

2013-03-21 Thread Thomas Gleixner
Move it to a common place. Preparatory patch for implementing set/clear for the idle need_resched poll implementation. Signed-off-by: Thomas Gleixner --- arch/alpha/include/asm/thread_info.h |2 -- arch/ia64/include/asm/thread_info.h |2 -- arch/metag/include/asm/thread_info.h