Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp649914pxb; Wed, 16 Feb 2022 01:00:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5XR3Y9AtHwC5YW4MBqcLipFfewMdqIGSJtp7VcDMiBeCIO2puTN3GXQfT3mFJzMSwJp7c X-Received: by 2002:a17:90a:1b04:b0:1b9:92e1:6264 with SMTP id q4-20020a17090a1b0400b001b992e16264mr597251pjq.116.1645002016719; Wed, 16 Feb 2022 01:00:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645002016; cv=none; d=google.com; s=arc-20160816; b=KAKQ9KarqggATJcz6v1HtFPsTV3nYXbFBzU/Y12bOieeERcqk+JBuLv0q7o/5rBpQk 0z8Jsse717s1vTArTYrkAgE4OidFQKAebOgQYNLsGH0mGVUS5eq0ce3pkaRW2dR725Km gDoDsLe+5VDjU6ZDKAHNuwjtj6HCEG0eCjO+hg8fxOcrP84KgPfvye0F5TXSfcl/u85m Q8HP6/zqf63+YsMMkGdwuv5lgHA1vr+PkYHhe8Y+Rbyi1fIXvjqAF0s9pQIUcb4KEJhA MI1onxHMuU4fbiHAwtjpVMDD2dP0cwAUM1P7L8+19YlOA8oA0fHk79Wbe8Cgbcud8Jz1 LDsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Lg0hGcnPJR/edgzKkkJoWG7KtP943805tKzhXD9IK6k=; b=IUvfZZ31WPF0F8ePWu9dHTYZSQDyCKM2eO3ajp3oLlAA68buaJt9vd3CM5RZw463Lv dcxXDF3YC072D0cs1NRgXxcEANDGM1xpVWyoo+HjDVZiZnoPtVOgCnNgfSrxg51FJYU4 +6iuu8objq8kGOtoni7TChd4XCh0/i7cXC7Qf0+w3SYM+tJ+CpaY82TpO07EKahZSiEB z3wxn01qEAcR7Zpx5vhP4IiIFGjeYYBaLOsSeNYwlD335QNrPqvpVk2eZFcj7uzTKl6U 3Bocxwm5antCRyvcD9zPk51Gs3YZjZrTRVmSN+DTFbwMZSKsd77eTMhYgsUmueUxJ4Sa 7TyA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b13si35400965pfm.244.2022.02.16.01.00.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 01:00:16 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D77D72ABD37; Wed, 16 Feb 2022 00:59:04 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231247AbiBPI7K (ORCPT + 99 others); Wed, 16 Feb 2022 03:59:10 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:40718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbiBPI7J (ORCPT ); Wed, 16 Feb 2022 03:59:09 -0500 Received: from gateway20.websitewelcome.com (gateway20.websitewelcome.com [192.185.50.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C8E32AC906 for ; Wed, 16 Feb 2022 00:58:58 -0800 (PST) Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway20.websitewelcome.com (Postfix) with ESMTP id E58C6400ED3CB for ; Wed, 16 Feb 2022 02:58:57 -0600 (CST) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id KG9JnjMdbXvvJKG9JndyOv; Wed, 16 Feb 2022 02:58:57 -0600 X-Authority-Reason: nr=8 Received: from host-95-232-30-176.retail.telecomitalia.it ([95.232.30.176]:46600 helo=[10.0.1.2]) by gator4132.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nKG9I-001PYL-FP; Wed, 16 Feb 2022 02:58:56 -0600 Message-ID: <05a593c4-0134-1449-7f30-305a0ffe1b49@kernel.org> Date: Wed, 16 Feb 2022 09:58:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC V2 12/21] rv/reactor: Add the printk reactor Content-Language: en-US To: John Ogness , Shuah Khan , Steven Rostedt Cc: Jonathan Corbet , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Will Deacon , Catalin Marinas , Marco Elver , Dmitry Vyukov , "Paul E. McKenney" , Gabriele Paoloni , Juri Lelli , Clark Williams , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org References: <10cf6003-6d2b-056b-11bb-3ae9c342a369@linuxfoundation.org> <87v8xg30qc.fsf@jogness.linutronix.de> <45179cdb-2391-207a-2f7b-2dea828d1606@kernel.org> <87r1842r1m.fsf@jogness.linutronix.de> <65172f14-bad6-37b1-d243-e91ca472d22e@kernel.org> <874k50hqmj.fsf@jogness.linutronix.de> From: Daniel Bristot de Oliveira In-Reply-To: <874k50hqmj.fsf@jogness.linutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4132.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.org X-BWhitelist: no X-Source-IP: 95.232.30.176 X-Source-L: No X-Exim-ID: 1nKG9I-001PYL-FP X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: host-95-232-30-176.retail.telecomitalia.it ([10.0.1.2]) [95.232.30.176]:46600 X-Source-Auth: kernel@bristot.me X-Email-Count: 2 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A,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 2/15/22 20:33, John Ogness wrote: >> I saw deadlocks in the past, and while testing the WIP monitor some >> time ago, it seems it depends on the console type. If such restriction >> does not exist anymore, I can remove that comment, it would be even >> better! > If you say it depended on the console type, then it was probably the > framebuffer console that was at fault. The fbcon is a landmine for > deadlocks, which is why PREEMPT_RT avoids fbcon printing from > non-preemptible context. For mainline, the series is currently in > review. > > Perhaps avoiding fbcon would be good enough for you to avoid deadlocks > with this reactor using printk(). So, I will keep printk(), add a depends on *!* fbcon, and remove the comment. What do you think? -- Daniel