From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752924AbdF2MVT (ORCPT ); Thu, 29 Jun 2017 08:21:19 -0400 Received: from ozlabs.org ([103.22.144.67]:48637 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893AbdF2MVM (ORCPT ); Thu, 29 Jun 2017 08:21:12 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 3fc5ee927ff4ffed6aa2fcd44d2fbf07ac893cdc In-Reply-To: <20170614130241.19865-2-npiggin@gmail.com> To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: "Gautham R . Shenoy" , linux-pm@vger.kernel.org, Daniel Lezcano , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, Nicholas Piggin Subject: Re: [1/3] cpuidle: powerpc: cpuidle set polling before enabling irqs Message-Id: <3wyzKL1g2Vz9s65@ozlabs.org> Date: Thu, 29 Jun 2017 22:21:10 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Nicholas Piggin Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/3fc5ee927ff4ffed6aa2fcd44d2fbf cheers