Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2249863rwb; Thu, 29 Sep 2022 08:00:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZgJ0yw1mj1qGJBcFr//c2xbMH2j8QV1qzpNBrMjmMCZQOQF7Tfz36eG2DKN+j5VFJ8WlN X-Received: by 2002:a17:906:8251:b0:781:8016:2dc9 with SMTP id f17-20020a170906825100b0078180162dc9mr3141133ejx.488.1664463601643; Thu, 29 Sep 2022 08:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664463601; cv=none; d=google.com; s=arc-20160816; b=HdTLeqsRlVN+V61nXYaET/+JlDXdIkED47vSgSoF2yU6agUAMvFosiYx+FsZQKL6cH lbnmRqCORu0qNwatxLk3xD0cxiVwQ1tFeRjMjFD9yiQ2CBDzZYinrlgVCYtfFudOK83u Z0ns7zm9t0SB4qYlH0JWuPSGqMbbz7H+0X4uKQ+t6azSWQCqtj0GwbJ8qI+ByK4IdqUJ v1Hkr97rljqMLMqe8KYndhcS6CgmteJDeejee+xZDT8BSlMAooav6mpwqNOmXFvzV+OT xQqyPUrCbVSVKcb0zRoIfhWH5pT4pR0OUyIqy/Z2d+a3ArA23y30WdcTaSphBtEwCO7q 9sbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=U6eCrG1bH2S5fazyYRexbB2EWVUobKqy0ORHgIDtUYs=; b=ynvdbryR5YOZo+q6/6O2ga0E/g4NrSfSvpYOsID/j7i4ROLqj7SZpYMA2Xno7HVMlt SjMXONveq81LB+aPvAhkBWM8O4IBFOlY6HCaVUPt0EZ6F+CC4YEBZX3cEBg+ZvnE6Ofb wlBcrCtyzyPgno4ZN9hRmL3sLETs8wUL9YQH6c1/ee+toxANhOP1zmX+/mftVqu7sH/f CUODxCZNi/ZcwX6v+8LivbQ1USNSoodN18bkxpwNx8AqkYn6lLv9nO5Ovpdsi8AxGWcz ycXfz9FBTo/1x31JoMLCSS15ykxGf+gOzcYbKX8sRPF/PedHiYeHF8IbqXgYRaSH0bFe Z5IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=2g6I7PM7; 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:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a05640251cc00b0044f441d2372si9735382edd.88.2022.09.29.07.59.35; Thu, 29 Sep 2022 08:00:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=2g6I7PM7; 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235603AbiI2ONK (ORCPT + 99 others); Thu, 29 Sep 2022 10:13:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235606AbiI2ONG (ORCPT ); Thu, 29 Sep 2022 10:13:06 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05DFD1B85D7 for ; Thu, 29 Sep 2022 07:13:06 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1664460784; 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=U6eCrG1bH2S5fazyYRexbB2EWVUobKqy0ORHgIDtUYs=; b=2g6I7PM7tVIp0xbIrsWRmMwSlnQSNBLRAtDvVxGvExqAsBrGpQzn7MU/FpE3DOEemN899Z zcDBfbuXSdNPC83MBHqfUkpVQ7fu3VMOgYKUadQ+vjYZ2OAz1xjAp9e9QC5OQkzRVFgo9O jJwFB7tNqtfRgXt5dUdcLaI4meMSFqoapyBbehk3304QKYdnnAEuA5TekI0Jz55QL3JSDc 1h1IVon9JkkT9y4wlyEiJ8bR9SK4uDV4yLs0nML54GpqErdpGulhsQ3Rze0vsn+obQbFvA ItRD+EVC/YDU8vkW0kGiwasvUu2QNAKVUb2/ZB8XvZoVyAMM2+Gs9k7CfGz6Fg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1664460784; 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=U6eCrG1bH2S5fazyYRexbB2EWVUobKqy0ORHgIDtUYs=; b=jncNNLCbNfH8hPTqrL9DjDR3m8DpnXXaYuiHXNE0yLH7NCPMzcboRdAHe6567mUYhzlxud L94aX1AGNyN7fKDw== To: Conor Dooley , Petr Mladek Cc: Thorsten Leemhuis , Conor Dooley , senozhatsky@chromium.org, rostedt@goodmis.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev Subject: Re: [resend][bug] low-probability console lockups since 5.19 In-Reply-To: References: <98f62903-3d6f-30b4-82ef-3b0460824907@leemhuis.info> Date: Thu, 29 Sep 2022 16:19:03 +0206 Message-ID: <877d1m46c0.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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-09-29, Conor Dooley wrote: > I will, possibly tonight but probably not, run the bisection again > with the threaded printer merge reverted. Hopefully it is not filled > with conflicts if I go that way... It might be easier for you to just apply the following patch to run your tests . This simple patch disables kthread usage. John Ogness diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index b095fb5f5f61..9679887c0805 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -3605,6 +3605,10 @@ static int __init printk_activate_kthreads(void) { struct console *con; + /* hack: never activate kthreads */ + if (!printk_kthreads_available) + return 0; + console_lock(); printk_kthreads_available = true; for_each_console(con)