Re: [1/3] cpuidle: powerpc: cpuidle set polling before enabling irqs

2017-07-03 Thread Michael Ellerman
"Rafael J. Wysocki" writes: > On Fri, Jun 30, 2017 at 5:45 AM, Michael Ellerman wrote: >> "Rafael J. Wysocki" writes: >> >>> On Thu, Jun 29, 2017 at 2:21 PM, Michael Ellerman >>> wrote: On Wed, 2017-06-14 at 13:02:39 UTC, Nicholas Piggin wrote: > local_irq_enable can cause interrupts

Re: [1/3] cpuidle: powerpc: cpuidle set polling before enabling irqs

2017-06-30 Thread Rafael J. Wysocki
On Fri, Jun 30, 2017 at 5:45 AM, Michael Ellerman wrote: > "Rafael J. Wysocki" writes: > >> On Thu, Jun 29, 2017 at 2:21 PM, Michael Ellerman >> wrote: >>> On Wed, 2017-06-14 at 13:02:39 UTC, Nicholas Piggin wrote: local_irq_enable can cause interrupts to be taken which could take sign

Re: [1/3] cpuidle: powerpc: cpuidle set polling before enabling irqs

2017-06-29 Thread Michael Ellerman
"Rafael J. Wysocki" writes: > On Thu, Jun 29, 2017 at 2:21 PM, Michael Ellerman > wrote: >> On Wed, 2017-06-14 at 13:02:39 UTC, Nicholas Piggin wrote: >>> local_irq_enable can cause interrupts to be taken which could >>> take significant amount of processing time. The idle process >>> should set

Re: [1/3] cpuidle: powerpc: cpuidle set polling before enabling irqs

2017-06-29 Thread Rafael J. Wysocki
On Thu, Jun 29, 2017 at 2:21 PM, Michael Ellerman wrote: > On Wed, 2017-06-14 at 13:02:39 UTC, Nicholas Piggin wrote: >> local_irq_enable can cause interrupts to be taken which could >> take significant amount of processing time. The idle process >> should set its polling flag before this, so anot

Re: [1/3] cpuidle: powerpc: cpuidle set polling before enabling irqs

2017-06-29 Thread Michael Ellerman
On Wed, 2017-06-14 at 13:02:39 UTC, Nicholas Piggin wrote: > local_irq_enable can cause interrupts to be taken which could > take significant amount of processing time. The idle process > should set its polling flag before this, so another process that > wakes it during this time will not have to s

[PATCH 1/3] cpuidle: powerpc: cpuidle set polling before enabling irqs

2017-06-14 Thread Nicholas Piggin
local_irq_enable can cause interrupts to be taken which could take significant amount of processing time. The idle process should set its polling flag before this, so another process that wakes it during this time will not have to send an IPI. Expand the TIF_POLLING_NRFLAG coverage to as large as