Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3323757iog; Mon, 20 Jun 2022 17:15:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1soVcIB8I6i+qg5Rl/mTnbhucae9gHnj64z4AOHiBurm99OhdbVD3GEaOKbHsH6wjDzJDhJ X-Received: by 2002:a63:334e:0:b0:3fd:cf48:9ba9 with SMTP id z75-20020a63334e000000b003fdcf489ba9mr13342536pgz.278.1655770524881; Mon, 20 Jun 2022 17:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655770524; cv=none; d=google.com; s=arc-20160816; b=V7KVUqO4F6TFGUkM1WUUx6Z56f6SpdD6NfC8mL9XucI1NGaVWe+NCLgaOK4mpJVW5F 2NP7QGxpP7wXt+0JB+po+r9Qf0imPCg116ktymtr0dEv47gq3xt6jkB31YCeV/7J0jYd uTKu7dI5g4b0wsf7ovKyXox1GeLiVienBKJ05Asnmgo5pUR7GwrXm5At2OpdfyhGB2df YkJaTp2iYbg7GBSVfcstCYJx1GWEKIkpyd0Ov6N2zTslZzXaN6XGrwYUj4Mxn6ITV7gz 1yLHqmI0q5pK+noDXymwUTGZVAP1bqqmfKCSKsJBeFoGGwAGO2S/dSdqEw5O9iUAizvd Womg== 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=bW3D6fQYGfq+LIKDb9Z3o0JUaxdED14t0XLDrOY7eGE=; b=bYLIJft445S3jYpFg1HaWJg8sPlwGgowUZexdn/A95cLRAHlj9iPpj3KKewajPzWj4 wQDXN2zaEjfOmdIS5ccWkZrK7oy3RecMg/kS+8vmu9e3FIbCetWuKmznXjmoOJ4x3B5w zlf49hq5vZnJmNobf4uS+rFLt6XjMLXT4Bd4ZG5qu8GB9zLY0Wibo2ljC7Hr7PH7QSaS S4IY2kbQF9pKHlXHAPV0uZHJxsL9f75NkIui1GD6qCF2xEnxyZ2nYTNwQTykgpu6tfS6 UROVRAJgnEUBkeu/mfWhcCVxCBDqPz8oQg5WcnwjLl38YuxnFg5hFTBabpXI3+/bAImN PR3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0MFlDp+f; dkim=neutral (no key) header.i=@linutronix.de header.b=Sxeyk7Ce; 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 e11-20020a63db0b000000b003fda62e561esi17859105pgg.196.2022.06.20.17.15.12; Mon, 20 Jun 2022 17:15:24 -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=0MFlDp+f; dkim=neutral (no key) header.i=@linutronix.de header.b=Sxeyk7Ce; 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 S245590AbiFTXZ5 (ORCPT + 99 others); Mon, 20 Jun 2022 19:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347700AbiFTXZl (ORCPT ); Mon, 20 Jun 2022 19:25:41 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81B4D13D41; Mon, 20 Jun 2022 16:23:07 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1655767384; 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=bW3D6fQYGfq+LIKDb9Z3o0JUaxdED14t0XLDrOY7eGE=; b=0MFlDp+fgTDE8bBCTtUT18/CkQO+E7Xwyft0XBiN29o7FLIk/WE2N81Vv5OmlIfdDN0/KE AhVpxfDMW/n0tHyDElhcv0sTEaafym4f7eZBW8238jZRPHyf9g3KtWT7LOfRz3ugAVtJdc KAuoXrQJofP3eQXu6c3OFotAv3puGRtEI1UPGMCfgdeGjmhP7q8DCfGNsFgj0qwBj9wmmn EcjPoxZ4f7mkGdJqmfJ9S6Pr+yhyfujwRf81jSoN+bG/gxWRVyx4O8tWKl0N5EZkhCBX4Y ypC/4IlZWkJdLc7ftq5yuBV7ZyqM19ZjhgUurm40WOe5VeIRSEusjE+TWOLqTw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1655767384; 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=bW3D6fQYGfq+LIKDb9Z3o0JUaxdED14t0XLDrOY7eGE=; b=Sxeyk7CewSWdRmO93S3lfQ2EPCEZdxQPQkZ1Yz73CbaU8YQEAeKXP7qFpFEWxEymEakMlV CSuJ4OL1MbbmppBw== To: "Paul E. McKenney" , rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: Re: [PATCH rcu 11/12] torture: Flush printk() buffers before powering off In-Reply-To: <20220620225817.3843106-11-paulmck@kernel.org> References: <20220620225814.GA3842995@paulmck-ThinkPad-P17-Gen-1> <20220620225817.3843106-11-paulmck@kernel.org> Date: Tue, 21 Jun 2022 01:29:04 +0206 Message-ID: <8735fyc42v.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,T_SCC_BODY_TEXT_LINE 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-06-20, "Paul E. McKenney" wrote: > The rcutorture test suite produces quite a bit of console output > at the end of a test. This means that the new printk() kthreads > are likely to be in the process of flushing output at the time of > the torture_shutdown() function's call to kernel_power_off(). > > This commit therefore invokes pr_flush(1000, true) to flush this > pending console output before invoking kernel_power_off(). > > Fixes: 8e274732115f ("printk: extend console_lock for per-console locking") > Cc: John Ogness > Signed-off-by: Paul E. McKenney Reviewed-by: John Ogness