Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp952170pxp; Wed, 16 Mar 2022 22:26:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGVtyQrUmLLrYq6sd34hA81gQUbmGKSZ4IbQTGnFJ8+Fuu8g1DjakbwvpVieL8niv+QoD9 X-Received: by 2002:a17:903:1248:b0:151:9708:d586 with SMTP id u8-20020a170903124800b001519708d586mr3263701plh.15.1647494803600; Wed, 16 Mar 2022 22:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647494803; cv=none; d=google.com; s=arc-20160816; b=ndTPeN0C6In+ti4d6UkhIAEF3DaCWPmKU87AWN7CaWCIybHAaGNrxd1Wf16wIZ6X1A dZv1iO5QeCzn6//onYdU3zaWIxo75CLEaeCF3tSJQSEksmgk+FE1qCVfgxf0TAKoksdG xJy28hNk3RlrtSyGqkSgpp7wPWv2pX7NW0JO6K/a68ngu3wzZ6YwAGs+bPoC07N5TIub 3wyrwag4ak6nSGwiynaB4y/11YwAjg5fvuVmgk7GcazOEQMTadsxtVqyI6S0RR7jg/kl naHqKN97XMc/YES2GA8fjZbqzqnM/BMRaBdiz3zukMYKAqNA/axmQHo2O9rrtkNGIull q7Mw== 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:dkim-signature :dkim-signature:date; bh=l4mgZ1/pDWQ3nScxh+XnF6i72BqJEn7PNWTgnZdOXFI=; b=y1zM+rO1LwW0TrjfF/O/P2LMHGInR9wkuKAYYTq14K2NQM62RnF+L4GHBZJImtcmTF l2WOxkjIArw84mIdnR5NvLJTUZDNGy8aE0vc1/jOMzWSfUPK5XabF7OdDyD5LeQneSiF QA12jF772D/VydiYSkW6NYxkEVo2H5z7G8d5C9j+XPqWaIDPlYp7PM0+DHr3KFNNVodA oMR+hgEWWfLzPD8VKiezFgQCL5K8+6nz5Y95f5wJbR3c0S8okSMEIJuDMoF3fB21eXq5 iHhE0Lsk2iWxWrfaoeOo5UbMtR6Knil3Y0RXFT22M8rmyI4x3xPcznHl/+7LlT3du+6W S3Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=S99Yk6tE; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m20-20020a17090a7f9400b001bd14e01f3bsi6342541pjl.41.2022.03.16.22.26.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:26:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=S99Yk6tE; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0843710BBFD; Wed, 16 Mar 2022 21:34:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354638AbiCPRHK (ORCPT + 99 others); Wed, 16 Mar 2022 13:07:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241750AbiCPRHJ (ORCPT ); Wed, 16 Mar 2022 13:07:09 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8225946B2E for ; Wed, 16 Mar 2022 10:05:55 -0700 (PDT) Date: Wed, 16 Mar 2022 18:05:52 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1647450354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=l4mgZ1/pDWQ3nScxh+XnF6i72BqJEn7PNWTgnZdOXFI=; b=S99Yk6tEYxSJ207mxDQGhlcrR3wYLa+q3V7akvdsQ7AxrUyxXjQ9aaxLdfNX8fjI2K+Tjw T3zQDHsN2p1IYaIa2vK1OBxnc4/M3Kl5y0eLyR2ytVMaebnPvZFo9i2y+u+zkv8E9tceZD 59EURG5Hxjgdw6lS13DK+Pv4KadgwVpLO+ZRYlc3OJsfo5JbGeYImKPTinm2KHZv95ZVlu HVW7env1R3LS3jGBaYC/1/oNeNr1A0y6shKcT92ZLqaeQhF/EO2J67zdyxkJId/b6OH21t 3ckiBpVm8wYe/1u8XYny6azDugFIB/WxUzjUOXfqoKZLekiaIBooWq4Fr5+F7A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1647450354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=l4mgZ1/pDWQ3nScxh+XnF6i72BqJEn7PNWTgnZdOXFI=; b=8GbkF1fFvHY1ZuXbjdnWK7Uk3yBUPOM7fRvk4HvJUYlXKlrWe/sDpS7aUDnXnNKnCQEAtJ HEpzNCv8FibxEnAA== From: Sebastian Andrzej Siewior To: Steven Rostedt Cc: Peter Zijlstra , LKML , Thomas Gleixner Subject: Re: sched_core_balance() releasing interrupts with pi_lock held Message-ID: References: <20220308161455.036e9933@gandalf.local.home> <20220315174606.02959816@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-03-16 17:18:41 [+0100], To Steven Rostedt wrote: > on top my problems are gone. Let me do some testing and then I would > patch unless PeterZ does the yelling :) so the long irq-off section is latency wise less than optimal. A testcase went from ~40 to 140us. And then there is this: | NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! | NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #10!!! which might be RT-only. I *think* we want first the buggy part gone and then the latency fixed. > > > Thanks, > > > > > > -- Steve Sebastian