Re: [patch 05/34] idle: Implement generic idle function

2013-11-22 Thread Thomas Gleixner
On Mon, 18 Nov 2013, Viresh Kumar wrote: > On Fri, Mar 22, 2013 at 3:23 AM, Thomas Gleixner wrote: > > --- linux-2.6.orig/kernel/cpu/idle.c > > +++ linux-2.6/kernel/cpu/idle.c > > > +void cpu_startup_entry(enum cpuhp_state state) > > +{ > > + current_set_polling(); > > +

Re: [patch 05/34] idle: Implement generic idle function

2013-11-22 Thread Thomas Gleixner
On Mon, 18 Nov 2013, Viresh Kumar wrote: On Fri, Mar 22, 2013 at 3:23 AM, Thomas Gleixner t...@linutronix.de wrote: --- linux-2.6.orig/kernel/cpu/idle.c +++ linux-2.6/kernel/cpu/idle.c +void cpu_startup_entry(enum cpuhp_state state) +{ + current_set_polling(); +

Re: [patch 05/34] idle: Implement generic idle function

2013-11-17 Thread Viresh Kumar
On Fri, Mar 22, 2013 at 3:23 AM, Thomas Gleixner wrote: > --- linux-2.6.orig/kernel/cpu/idle.c > +++ linux-2.6/kernel/cpu/idle.c > +void cpu_startup_entry(enum cpuhp_state state) > +{ > + current_set_polling(); > + arch_cpu_idle_prepare(); > + cpu_idle_loop(); > +} > +#endif

Re: [patch 05/34] idle: Implement generic idle function

2013-11-17 Thread Viresh Kumar
On Fri, Mar 22, 2013 at 3:23 AM, Thomas Gleixner t...@linutronix.de wrote: --- linux-2.6.orig/kernel/cpu/idle.c +++ linux-2.6/kernel/cpu/idle.c +void cpu_startup_entry(enum cpuhp_state state) +{ + current_set_polling(); + arch_cpu_idle_prepare(); + cpu_idle_loop(); +}

Re: [patch 05/34] idle: Implement generic idle function

2013-03-28 Thread Srivatsa S. Bhat
On 03/22/2013 03:23 AM, Thomas Gleixner wrote: > All idle functions in arch/* are more or less the same, plus minus a > few bugs and extra instrumentation, tickless support and other > optional items. > > Implement a generic idle function which resembles the functionality > found in arch/.

Re: [patch 05/34] idle: Implement generic idle function

2013-03-28 Thread Srivatsa S. Bhat
On 03/22/2013 03:23 AM, Thomas Gleixner wrote: All idle functions in arch/* are more or less the same, plus minus a few bugs and extra instrumentation, tickless support and other optional items. Implement a generic idle function which resembles the functionality found in arch/. Provide weak

Re: [patch 05/34] idle: Implement generic idle function

2013-03-25 Thread Thomas Gleixner
On Sat, 23 Mar 2013, Heiko Carstens wrote: > On Thu, Mar 21, 2013 at 09:53:00PM -, Thomas Gleixner wrote: > > All idle functions in arch/* are more or less the same, plus minus a > > few bugs and extra instrumentation, tickless support and other > > optional items. > > > > Implement a

Re: [patch 05/34] idle: Implement generic idle function

2013-03-25 Thread Thomas Gleixner
On Sat, 23 Mar 2013, Heiko Carstens wrote: On Thu, Mar 21, 2013 at 09:53:00PM -, Thomas Gleixner wrote: All idle functions in arch/* are more or less the same, plus minus a few bugs and extra instrumentation, tickless support and other optional items. Implement a generic idle

Re: [patch 05/34] idle: Implement generic idle function

2013-03-23 Thread Heiko Carstens
On Thu, Mar 21, 2013 at 09:53:00PM -, Thomas Gleixner wrote: > All idle functions in arch/* are more or less the same, plus minus a > few bugs and extra instrumentation, tickless support and other > optional items. > > Implement a generic idle function which resembles the functionality >

Re: [patch 05/34] idle: Implement generic idle function

2013-03-23 Thread Heiko Carstens
On Thu, Mar 21, 2013 at 09:53:00PM -, Thomas Gleixner wrote: All idle functions in arch/* are more or less the same, plus minus a few bugs and extra instrumentation, tickless support and other optional items. Implement a generic idle function which resembles the functionality found in

[patch 05/34] idle: Implement generic idle function

2013-03-21 Thread Thomas Gleixner
All idle functions in arch/* are more or less the same, plus minus a few bugs and extra instrumentation, tickless support and other optional items. Implement a generic idle function which resembles the functionality found in arch/. Provide weak arch_cpu_idle_* functions which can be overridden by

[patch 05/34] idle: Implement generic idle function

2013-03-21 Thread Thomas Gleixner
All idle functions in arch/* are more or less the same, plus minus a few bugs and extra instrumentation, tickless support and other optional items. Implement a generic idle function which resembles the functionality found in arch/. Provide weak arch_cpu_idle_* functions which can be overridden by