Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp170419pxb; Fri, 8 Jan 2021 01:35:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJypgMddsnTfEA6uRjGjfLgeJp4xn2TBW/waTer21PjOwMpc7XxvDysG7XAqNFneB/SOnP1y X-Received: by 2002:a17:906:3593:: with SMTP id o19mr2050946ejb.377.1610098552871; Fri, 08 Jan 2021 01:35:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610098552; cv=none; d=google.com; s=arc-20160816; b=NVGTtPhWt0WcgF5t2Z0k+Guk+NOjzi+vp/nKOTvF71eU23dXwPRaUY21VW9225FZvA 7wj1dw1kVYMt3kfBHUhg01RdxlhDJSPMvXyXxPtA1akkoSUkQnNaOaY9wBe/KQuw9hH4 z2pBE7VZ7aNCv0dyJi30tePzhR2pxqoiGptF7YfFWaXAOxgLvfmlZxTJfCx2fgrawCMk eFKUsGX98KFJ21trl7QA3x92CtbgXI46+xWGnhM5uv6BCTiQgzM4qAL0BlJ4RK7oab0N T5um5vAsw0+VECbEkRMO1JtTXoUOQ3S2CLTOM/0GPgiMkcPcy8YmpV5UfIH9+GZ/pNrD zQGg== 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=AFhQ5m4QRya/SI/e/ihcUh2OxTirSzfuPrKOq59dUp0=; b=DuqrsAsHNBC1L0HmYyqzzGZu0kfbV+++yr0tqS6O/WBupFX+fPdlJDV8pRYv8Rurzg Gey/aegZ4s5Rtld8nVd1/mdGTMHkJ6TU+bDGL2cxqGwc6xrgRMa6KF7Ssnt2NvsgoBrr FSk5db910OZLLI+4kvDIg8oKkFm/d6Ootu5qpzaZwgrMo6vqihu3/or2BgAgVvqzBusk QEj4IOdcPe4jjsanDGwz/aw+OWUUWZmYQgGeKTk2aNOKkTtUSnEoIUZ1jP3Z4VzAITtb GGVLh6iN3oKfso9+mp/mRpAX6cm9aeb9SFQXmlsN7oB0sQh3UmY+0ycjn1HRp8+U6gNo Eg4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=BUn3OEai; 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 dn20si3647940ejc.748.2021.01.08.01.35.28; Fri, 08 Jan 2021 01:35:52 -0800 (PST) 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=BUn3OEai; 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 S1728357AbhAHJdp (ORCPT + 99 others); Fri, 8 Jan 2021 04:33:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727300AbhAHJdo (ORCPT ); Fri, 8 Jan 2021 04:33:44 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBC63C0612F4; Fri, 8 Jan 2021 01:33:03 -0800 (PST) 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=AFhQ5m4QRya/SI/e/ihcUh2OxTirSzfuPrKOq59dUp0=; b=BUn3OEaiG3IFlZ7EeATceuIIPf GORD2Eo5wkYEH4pjMYOkOUtLBCkZ+gvrK47gjrcE/+8gLy+BaCosjOEWFCbN/M1Q23PL3fmnIXwqU Lq0AnxNPhY92ADQ+GAbXcyAs316UqJgAAQWfVKwhChFOOPb+OOhin9CaxtzmnlzYyTlpSzi3vmbSZ pfvbJKRtg8Vq/0QtiZaMejMyvXSOF1jKy4+Es9g3zPkbw9ovWOGmWpovazPkP4d5kIiPJD0oJSk7W r44ZHIp7vuFhrJ3/vOpgXPx8rpeFNvcfVOXYPWFornI8tWgBSyUJoBXlAX11UP7ZP6rErjmAFsSbq KJ0cxvKw==; 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 1kxo8O-0005tk-40; Fri, 08 Jan 2021 09:32:40 +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 A5A0F3003D8; Fri, 8 Jan 2021 10:32:36 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8E7EE2BB7DCD2; Fri, 8 Jan 2021 10:32:36 +0100 (CET) Date: Fri, 8 Jan 2021 10:32:36 +0100 From: Peter Zijlstra To: Sebastian Siewior Cc: Ran Wang , Thomas Gleixner , Jiafei Pan , linux-rt-users@vger.kernel.org, Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , linux-kernel@vger.kernel.org Subject: Re: [PATCH] [RFC] rt: kernel/sched/core: fix kthread_park() pending too long when CPU un-plugged Message-ID: References: <20210107091841.19798-1-ran.wang_1@nxp.com> <20210107152843.gyljmpctkwybfewh@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210107152843.gyljmpctkwybfewh@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 07, 2021 at 04:28:43PM +0100, Sebastian Siewior wrote: > This sleep can be triggered by ptrace/strace() and with brief testing I > can trigger the sleep there but I don't get it anywhere near where I > would notice it with cyclictest. It's a single task wakeup (the caller), doing that from hardirq context really should not be a problem, we do lots of that in RT already.