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

From: Rafael J. Wysocki
Date: Fri Jun 30 2017 - 08:51:19 EST


On Fri, Jun 30, 2017 at 5:45 AM, Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
> "Rafael J. Wysocki" <rafael@xxxxxxxxxx> writes:
>
>> On Thu, Jun 29, 2017 at 2:21 PM, Michael Ellerman
>> <patch-notifications@xxxxxxxxxxxxxx> 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 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 possible.
>>>>
>>>> Reviewed-by: Gautham R. Shenoy <ego@xxxxxxxxxxxxxxxxxx>
>>>> Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
>>>
>>> Series applied to powerpc next, thanks.
>>>
>>> https://git.kernel.org/powerpc/c/3fc5ee927ff4ffed6aa2fcd44d2fbf
>>
>> OK
>>
>> I've applied it too, so I guess I should drop it?
>
> Erk sorry. I hadn't heard anything so I picked it up.
>
> If you can drop it that would be good, but if not git will probably work
> it out mostly :)

I've dropped it, no problem.

Thanks,
Rafael