From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD124C4363D for ; Tue, 6 Oct 2020 13:33:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5D1AD20760 for ; Tue, 6 Oct 2020 13:33:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="AGTkU6WV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726165AbgJFNdd (ORCPT ); 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.