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 E3551C433FE for ; Wed, 19 Oct 2022 16:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231532AbiJSQD4 (ORCPT ); Wed, 19 Oct 2022 12:03:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230404AbiJSQDO (ORCPT ); Wed, 19 Oct 2022 12:03:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B52C2183DA8; Wed, 19 Oct 2022 09:02:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 678C96195D; Wed, 19 Oct 2022 16:02:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E9CDC433C1; Wed, 19 Oct 2022 16:02:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666195331; bh=rIpWDkl37seriRaOAoZSEwt53xN5YgwQ+fbKKjiUjN0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H+g2ZklmxdhK0aI4gr+kxidwZWM9KLP34p0ap0NFHKEMya9ssbRVQdOHRCHqyj/tb QhtxwliyxcQyJGR6lZ5sBYAeOu8b1aL32qh+/JAO0gHAeKUW83FUyraHIAAfAtQHtx OgNk8mnv/GcQBpS55csUn4BYtgvWV1flX/qRvIgY= Date: Wed, 19 Oct 2022 18:02:09 +0200 From: Greg Kroah-Hartman To: John Ogness Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Jason Wessel , Daniel Thompson , Douglas Anderson , Jiri Slaby , kgdb-bugreport@lists.sourceforge.net, linux-serial@vger.kernel.org Subject: Re: [PATCH printk v2 21/38] serial: kgdboc: use srcu console list iterator Message-ID: References: <20221019145600.1282823-1-john.ogness@linutronix.de> <20221019145600.1282823-22-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221019145600.1282823-22-john.ogness@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 19, 2022 at 05:01:43PM +0206, John Ogness wrote: > Use srcu console list iteration for safe console list traversal. > > Note that configure_kgdboc() still requires the console_lock in > order to ensure that no console is in its write() callback when > its direct() callback is called. Add comments to clarify this. > > Signed-off-by: John Ogness Reviewed-by: Greg Kroah-Hartman