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.8 required=3.0 tests=BAYES_00, 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 DBD2DC433DB for ; Thu, 25 Feb 2021 12:15:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A8E8464F11 for ; Thu, 25 Feb 2021 12:15:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233804AbhBYMPq (ORCPT ); Thu, 25 Feb 2021 07:15:46 -0500 Received: from foss.arm.com ([217.140.110.172]:56850 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230142AbhBYMP3 (ORCPT ); Thu, 25 Feb 2021 07:15:29 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B9F8CD6E; Thu, 25 Feb 2021 04:14:41 -0800 (PST) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F147B3F73D; Thu, 25 Feb 2021 04:14:39 -0800 (PST) From: Valentin Schneider To: Vincent Guittot Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , linux-kernel , Joel Fernandes , Frederic Weisbecker , Thomas Gleixner , Qais Yousef Subject: Re: [PATCH 0/7 v4] move update blocked load outside newidle_balance In-Reply-To: References: <20210224133007.28644-1-vincent.guittot@linaro.org> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 25 Feb 2021 12:14:37 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/02/21 09:05, Vincent Guittot wrote: >> One last thing for patch 7: mayhaps we could do a tad better to avoid >> duplicate updates going through a heapful of leaf cfs rqs, see >> >> http://lore.kernel.org/r/jhj4kiht7oh.mognet@arm.com > > rq->last_blocked_load_update_tick is there only to filter duplicate > update during _nohz_idle_balance but not for other normal LB. > Right, update_nohz_stats() is now only used in _nohz_idle_balance()... IIUC the pattern being covered here would be a CPUX getting kicked for nohz stats/balance, then some CPUX-N (so it gets picked by find_new_ilb()) entering idle and getting kick in turn (less than a jiffy apart).