Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp292634pxu; Tue, 6 Oct 2020 06:38:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC6vgRdNPjvonqYU5sif4FMN3a26Vk9iih9/6IW26hRAfk7kJslFcUN8dN5hFUudmqtz7E X-Received: by 2002:a17:906:934d:: with SMTP id p13mr5591598ejw.532.1601991495018; Tue, 06 Oct 2020 06:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601991495; cv=none; d=google.com; s=arc-20160816; b=plkyf97OCp5Q8FcZ6BfXhoiQBA1Z0+3o2+88sSaTIyF/7nRH5c+dM8bG0+2Q83TzRv FDXmJ8s8GbMGwIzVABZswaeiLAb2x6kLiWcIFEcVsGfYxBv4D1ReCutVT8oQDjQuT2F6 Ex3Yl874OWqJY6LJKqDqbfbgTQiHUeMM0OP2h1hWz3Qn0oK0/2lX3Ohd8mYhwS8cqnpZ 54VMxkY9Yy1/OuNytkKXG3UjCKpo6hEvPZldF9UMao8DcpRc8CR4nVPbYhBR69L96iz0 7kbt+ZwywWegqoeimDkwQtSMG8iy1iznHBpT3dDYKesCmCRjTAIkWsBFYwDnW1a0oYKX +v6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4EuFqx5BLHnEuSbZbHwwDASDoQ4qTKYnpBwSKictmrY=; b=fRJomOGgA3wpY7dsa3TTCThAXrIRwazRsDKU91cp8ooY4RXV0XCDQ/GkgbhaeCNYFm BnKoJ7JdtegK71YKfStK1g0QDnegBLaAkuk/oldsokgd5RVhZFKEOK+0UqtW+LyUlMwQ JWvgYS9IndOKqulvBxTMo6ZmKv10ko5h+mScXfhT7brfAp9qXWLmPYCatDgoZxKrMCmG VGSt9Bbd+EE3f54gbfqJD+5osGQ+B/KUlQ9Sa7Sw2Md5UCkRIUT3zbjMlooQq6Db/8y/ C5EWxcObVBn8CA/9K+1Q9HKTMtroDTmCQaL8lyNNNapPMCSsFhPHhHWiGmRVGGcsFRpd O9KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=AGTkU6WV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si2342020edu.509.2020.10.06.06.37.51; Tue, 06 Oct 2020 06:38:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=AGTkU6WV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726105AbgJFNdd (ORCPT + 99 others); Tue, 6 Oct 2020 09:33:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbgJFNdc (ORCPT ); Tue, 6 Oct 2020 09:33:32 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75CCAC061755 for ; Tue, 6 Oct 2020 06:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=4EuFqx5BLHnEuSbZbHwwDASDoQ4qTKYnpBwSKictmrY=; b=AGTkU6WVtH4G/hfGMJ++W8Kjl/ CVScfS1tqrv226bmMp7gKBb/dMEFSL3XrPXJR5TSonuWQwK7bjCDyRRAzHdhesvXfcFA7PAFiTI4j jfPxX9QJxVPp1AY8jNjY6Am6ptCY//sL3B1VxIcUlxZAoH4GX0ZQYyWfW+6+voD8UCEZujk3MOavw 2z5VXanODbGfohkpgpGqtBCvYPIOAqfdyUYx4BUSXUplekV11Gy8HLshVpZlvlJcG2i9bIdIXV6HA 0iSUAZKQ+ZAxHX8d3MU3BruREDcDEMP4M9AWHEelzDgEwO+U0y2AcmlYuY4Rs3/J4t4Tz4rGe5FJO IXRs+AUQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPn5c-0000sL-AQ; Tue, 06 Oct 2020 13:33:12 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 91CF73019CE; Tue, 6 Oct 2020 15:33:09 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7543B20244ED7; Tue, 6 Oct 2020 15:33:09 +0200 (CEST) Date: Tue, 6 Oct 2020 15:33:09 +0200 From: Peter Zijlstra To: Vincent Guittot Cc: Thomas Gleixner , Ingo Molnar , linux-kernel , Sebastian Andrzej Siewior , Qais Yousef , Scott Wood , Valentin Schneider , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Vincent Donnefort , Tejun Heo Subject: Re: [PATCH -v2 07/17] sched: Fix hotplug vs CPU bandwidth control Message-ID: <20201006133309.GU2628@hirez.programming.kicks-ass.net> References: <20201005145717.346020688@infradead.org> <20201005150921.661842442@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 06, 2020 at 02:46:28PM +0200, Vincent Guittot wrote: > > @@ -6993,6 +6995,14 @@ int sched_cpu_deactivate(unsigned int cp > > > > balance_push_set(cpu, true); > > > > + rq_lock_irqsave(rq, &rf); > > + if (rq->rd) { > > + update_rq_clock(); > > Tried to compile but rq parameter is missing Damn :/, I'm sure I fixed that. must've lost a refresh before sending.