From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757014AbaEIRz3 (ORCPT ); Fri, 9 May 2014 13:55:29 -0400 Received: from mail-ee0-f51.google.com ([74.125.83.51]:55401 "EHLO mail-ee0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbaEIRz1 (ORCPT ); Fri, 9 May 2014 13:55:27 -0400 Message-ID: <1399658123.5187.2.camel@marge.simpson.net> Subject: Re: [PATCH] sched: wake up task on prev_cpu if not in SD_WAKE_AFFINE domain with cpu From: Mike Galbraith To: Rik van Riel Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, morten.rasmussen@arm.com, mingo@kernel.org, george.mccollister@gmail.com, ktkhai@parallels.com Date: Fri, 09 May 2014 19:55:23 +0200 In-Reply-To: <536CF346.6080009@redhat.com> References: <20140502004237.79dd3de6@annuminas.surriel.com> <1399011219.5233.55.camel@marge.simpson.net> <53633B81.1080403@redhat.com> <1399016273.5233.94.camel@marge.simpson.net> <536379D0.8070306@redhat.com> <1399030032.5233.142.camel@marge.simpson.net> <5363B793.9010208@redhat.com> <20140506115448.GH11096@twins.programming.kicks-ass.net> <536943C9.4030502@redhat.com> <20140506203916.GQ17778@laptop.programming.kicks-ass.net> <536C3B69.1000208@redhat.com> <20140509012743.67d4006d@annuminas.surriel.com> <1399620873.5200.68.camel@marge.simpson.net> <536CE48E.2060305@redhat.com> <1399649042.31219.47.camel@marge.simpson.net> <536CF346.6080009@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2014-05-09 at 11:24 -0400, Rik van Riel wrote: > On 05/09/2014 11:24 AM, Mike Galbraith wrote: > > If no ->flags & SD_BALANCE_WAKE is encountered during traversal, sd > > remains NULL, we fall through to return prev_cpu. ^^^^^^^^^^^^ > We do fall through, but into this loop: > while (sd) {