From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751816AbaEBHh7 (ORCPT ); Fri, 2 May 2014 03:37:59 -0400 Received: from mail-ee0-f44.google.com ([74.125.83.44]:34566 "EHLO mail-ee0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbaEBHh5 (ORCPT ); Fri, 2 May 2014 03:37:57 -0400 Message-ID: <1399016273.5233.94.camel@marge.simpson.net> Subject: Re: [PATCH RFC/TEST] sched: make sync affine wakeups work From: Mike Galbraith To: Rik van Riel Cc: linux-kernel@vger.kernel.org, morten.rasmussen@arm.com, mingo@kernel.org, peterz@infradead.org, george.mccollister@gmail.com, ktkhai@parallels.com Date: Fri, 02 May 2014 09:37:53 +0200 In-Reply-To: <53633B81.1080403@redhat.com> References: <20140502004237.79dd3de6@annuminas.surriel.com> <1399011219.5233.55.camel@marge.simpson.net> <53633B81.1080403@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-02 at 02:30 -0400, Rik van Riel wrote: > On 05/02/2014 02:13 AM, Mike Galbraith wrote: > > On Fri, 2014-05-02 at 00:42 -0400, Rik van Riel wrote: > > > >> Whether or not this is the right thing to do remains to be seen, > >> but it does allow us to verify whether or not the wake_affine > >> strategy of always doing affine wakeups and only disabling them > >> in a specific circumstance is sound, or needs rethinking... > > > > Yes, it needs rethinking. > > > > I know why you want to try this, yes, select_idle_sibling() is very much > > a two faced little bitch. > > My biggest problem with select_idle_sibling and wake_affine in > general is that it will override NUMA placement, even when > processes only wake each other up infrequently... Hm, seems the thing to do would be to tell select_task_rq_fair() to keep it's mitts off of tasks that the numasched stuff has placed rather than decapitating select_idle_sibling() or some other drastic measure. -Mike