Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754667Ab1BWMYf (ORCPT ); Wed, 23 Feb 2011 07:24:35 -0500 Received: from casper.infradead.org ([85.118.1.10]:52307 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831Ab1BWMYc convert rfc822-to-8bit (ORCPT ); Wed, 23 Feb 2011 07:24:32 -0500 Subject: Re: [CFS Bandwidth Control v4 4/7] sched: unthrottle cfs_rq(s) who ran out of quota at period refresh From: Peter Zijlstra To: Paul Turner Cc: linux-kernel@vger.kernel.org, Bharata B Rao , Dhaval Giani , Balbir Singh , Vaidyanathan Srinivasan , Gautham R Shenoy , Srivatsa Vaddagiri , Kamalesh Babulal , Ingo Molnar , Pavel Emelyanov , Herbert Poetzl , Avi Kivity , Chris Friesen , Nikhil Rao In-Reply-To: <20110216031841.161743484@google.com> References: <20110216031831.571628191@google.com> <20110216031841.161743484@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Wed, 23 Feb 2011 13:23:38 +0100 Message-ID: <1298463818.2217.497.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 Content-Length: 615 Lines: 17 On Tue, 2011-02-15 at 19:18 -0800, Paul Turner wrote: > +static inline const struct cpumask *sched_bw_period_mask(void) > +{ > + return cpu_rq(smp_processor_id())->rd->span; > +} Some day I'm going to bite the bullet and merge part of cpusets into this controller and have Balbir take the node part into the memcg thing and then make (cpu||memcg) ^ cpuset Feh. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/