From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753424Ab1DEN2i (ORCPT ); Tue, 5 Apr 2011 09:28:38 -0400 Received: from casper.infradead.org ([85.118.1.10]:54512 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752893Ab1DEN2X convert rfc822-to-8bit (ORCPT ); Tue, 5 Apr 2011 09:28:23 -0400 Subject: Re: [patch 08/15] sched: migrate throttled tasks on HOTPLUG From: Peter Zijlstra To: Paul Turner Cc: linux-kernel@vger.kernel.org, Bharata B Rao , Dhaval Giani , Balbir Singh , Vaidyanathan Srinivasan , Srivatsa Vaddagiri , Kamalesh Babulal , Ingo Molnar , Pavel Emelyanov In-Reply-To: <20110323030449.434436052@google.com> References: <20110323030326.789836913@google.com> <20110323030449.434436052@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Tue, 05 Apr 2011 15:28:12 +0200 Message-ID: <1302010092.2225.1317.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2011-03-22 at 20:03 -0700, Paul Turner wrote: > Throttled tasks are invisisble to cpu-offline since they are not eligible for > selection by pick_next_task(). The regular 'escape' path for a thread that is > blocked at offline is via ttwu->select_task_rq, however this will not handle a > throttled group since there are no individual thread wakeups on an unthrottle. > > Resolve this by unthrottling offline cpus so that threads can be migrated. Fair enough, the flip side is that they all can again increase their debt by a whole tick, right?