Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp240574pxj; Wed, 16 Jun 2021 01:02:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHohHAqxGDnXTGGsPMRKsLNdZ/BDhnXg9VWG7hxJVwoRbzJkp9ASCunM4isNWWwQVa2MU5 X-Received: by 2002:aa7:c6c2:: with SMTP id b2mr2702033eds.8.1623830545112; Wed, 16 Jun 2021 01:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623830545; cv=none; d=google.com; s=arc-20160816; b=AO2TBymrwG3osfBjXURqC+9WPxil6GGk6lITMb1COpSJwnRA73rb4Cm4dZoyLuLXFo 7b2HKiNW71uttASn3YkK1wlTVena3Rh/XAQWF4YZsxrjwUWHhmEg5YRz8f1F2O7UJsi1 ugMmUWAfnW8zlfd+HiJ9UqiXbrckJ7441PBp/p0DORLGUdCpLM8vdOf7ONYSTxqsSb7Z R0tpAMkPR87GZ87MpEruSSfAC2PuxloTl/+w0X2PLGML/TJB8+yp8IKrvQx+JOKILyCn 2yGgogonBz7xSG4kEYeKpHQIz8o9UNXqjIQTANqPq6NA3UOpi448koRY5LnyKREz5xmh oGmQ== 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=pIhPm5+gNPaQ3LxsxJGoYaJL+rmiFeAqfh2R5NiqU8o=; b=FSzVfIU30oCvklBJ6ncfaFUTnMq2eEvGAu7vhE2uICBHvEBfODY196Ea/Q+EH8tStr krWT4aRF10qqojRU2jCQ08SDmfo+cyKm+uSJu/kOPzL+7Hmqz8l3CFhSX154og8T3Ytc iDWOMQUfzzEB6bNqrx8k7tL/M61l6o9Zz0GVaEmMLGr2BotyPKlbCtkW9XSEhPkxcQT9 TU/URnJ5t0tb8T1NBwx4OCfmDktI90m2AKpkt3UMJF0jNaaqxrnM6odqcmU7LaMbacrC TUg5RB9egTlgbPo32ezH1Ov/Iny9eMRODITktPvVoskZO1EwBVaZfD5ClaGimtt3benM lKHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=bf3YFHSe; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si1598058edi.123.2021.06.16.01.02.02; Wed, 16 Jun 2021 01:02:25 -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=@natalenko.name header.s=dkim-20170712 header.b=bf3YFHSe; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232098AbhFPIDB (ORCPT + 99 others); Wed, 16 Jun 2021 04:03:01 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:36596 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232123AbhFPICW (ORCPT ); Wed, 16 Jun 2021 04:02:22 -0400 Received: from localhost (unknown [151.237.229.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 8433AADC21B; Wed, 16 Jun 2021 10:00:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1623830408; 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=pIhPm5+gNPaQ3LxsxJGoYaJL+rmiFeAqfh2R5NiqU8o=; b=bf3YFHSeNOPxLuTWNSjiiKocLTXV2e9iRB9O8zAqRKzAX8l0bNj/BJQby2LmRIhVb7EH4X NaW9XtAnt2B5seB46WvrbMxwVZXGkMHb0VvmHHS7Fc1g4XWdH3ZPxyi1HslWTEWay+zFlF Qz2SMesoj1SHbfY8WJuq1V+pskrJT40= Date: Wed, 16 Jun 2021 10:00:06 +0200 From: Oleksandr Natalenko To: Steven Rostedt Cc: Rasmus Villemoes , Bartosz Golaszewski , linux-rt-users@vger.kernel.org, LKML , Linus Walleij , Vladimir Oltean , Esben Haabendal , Thomas Gleixner , Carlos Jimenez , Wolfram Sang Subject: Re: commit 3d5bfbd97163 versus -rt Message-ID: <20210616080006.rrv3kdmuozqzchv6@spock.localdomain> References: <5afbc89e-dbc4-3f47-4e61-63a77165aaec@prevas.dk> <20210615113312.0dad32bb@oasis.local.home> <37e28373-c6ec-2602-ec5c-cb0b65ce6697@prevas.dk> <20210615130959.1de1f52a@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615130959.1de1f52a@gandalf.local.home> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On Tue, Jun 15, 2021 at 01:09:59PM -0400, Steven Rostedt wrote: > On Tue, 15 Jun 2021 18:24:20 +0200 > Rasmus Villemoes wrote: > > > > ~ # uname -r > > > 5.10.42-00001-g10216cf63a12 > > > ~ # grep -ow threadirqs /proc/cmdline > > > threadirqs > > > ~ # zcat /proc/config.gz | grep FORCED_THREADING > > > CONFIG_IRQ_FORCED_THREADING=y > > > ~ # dmesg | grep WARNING > > > ~ # > > > > And as an extra data point, it also doesn't trigger on 5.10.41-rt42 > > configured without PREEMPT_RT but with threadirqs on the command line. > > Sounds to me that there's a "spin_lock_irq*" somewhere in the path, because > from what I can see, there's not much difference with the IRQ code between > 5.10.41 and 5.10.41-rt42. But if you are seeing it only with PREEMPT_RT > set, that tells me that without PREEMPT_RT, interrupts are disabled at that > point, but not with PREEMPT_RT. The only thing I can think of that would do > that is a spin_lock_irq*() taken (not a raw_spin_lock_irq*()). This reminds me [1] and [2]. I'm carrying forward [3] in my domestic kernel build to cope with that. /cc'ing people involved back then. [1] https://lore.kernel.org/lkml/20201204201930.vtvitsq6xcftjj3o@spock.localdomain/ [2] https://bugzilla.kernel.org/show_bug.cgi?id=202453 [3] https://gitlab.com/post-factum/pf-kernel/-/commit/f7c99d74cca99d71179d63e827811f0df51bd8fc -- Oleksandr Natalenko (post-factum)