From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69342C433EF for ; Sun, 12 Jun 2022 23:02:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237610AbiFLXC3 (ORCPT ); Sun, 12 Jun 2022 19:02:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232947AbiFLXC2 (ORCPT ); Sun, 12 Jun 2022 19:02:28 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0FDF26108 for ; Sun, 12 Jun 2022 16:02:26 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1655074944; 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=GjKZ+LQkKXZaIY72unLROm2RmMm/98TrNKDzBYh55HY=; b=QFBhyi09gvtgmNpodSmZHpLhVm19IQDsrPWaS29a9x7F56NeE+OzmHo9x/A9S4H1XdIUg5 ZbmK+Wy0jpr4Dgk0Yex+NdfqzrCNaIWi1SSGPMLygIzNoVKR/ULiECPhxYgSFirtHouvXD VBopQ1NfYfoXznJbcZmiKVU60qUvmGDZhxtyPFoiPY2Sb6QvRJ6VKPHuGozdimcp21UwsR 8Cc3uS95cQcz9r26hz2ucvyc41BAWu+c93jpl2JCGy18eO5JxUJ/thDaerf11Qi3x7wNyY lA7vH2OaBe8shvd4ALPPC9bNeTrGiyrABNdPccjPMTchvVLXPhWt9VEBrx05EA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1655074944; 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=GjKZ+LQkKXZaIY72unLROm2RmMm/98TrNKDzBYh55HY=; b=xaJ8o0jiQdqz1Cf3Sdk3m4i448g+KNCZL7Kr7OIv0X2C/6pYAqtyVR5xRwMeVqYNPqh8KX Nttn1qWMX30IbrDQ== To: Sergey Senozhatsky , Petr Mladek Cc: Peter Geis , Sergey Senozhatsky , Linux Kernel Mailing List , "open list:ARM/Rockchip SoC..." Subject: Re: [BUG] Threaded printk breaks early debugging In-Reply-To: References: <87y1y48spg.fsf@jogness.linutronix.de> Date: Mon, 13 Jun 2022 01:08:23 +0206 Message-ID: <8735g9mqo0.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-06-12, Sergey Senozhatsky wrote: > Should a situation when we have only one online CPU be enough of a > reason to do direct printing? Otherwise we might not have CPUs to > wakeup khtread on, e.g. when CPU that printk is in atomic section for > too long. IMHO, no. Especially in that situation, we do not want printk causing that atomic section to become even longer. If the machine has entered normal operation, we want printk out of the way. John Ogness