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 B3132ECAAD8 for ; Wed, 14 Sep 2022 12:46:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbiINMq4 (ORCPT ); Wed, 14 Sep 2022 08:46:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbiINMqn (ORCPT ); Wed, 14 Sep 2022 08:46:43 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99AAC7E31B for ; Wed, 14 Sep 2022 05:46:30 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id jm11so14986758plb.13 for ; Wed, 14 Sep 2022 05:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=GoJ883CSmuWdImYFXl/CKCtIpSQMQLOeiAZoLtHBZNU=; b=Qc3wB1d5TeWhOXDA9MxG2uojJ8V4CB7wyIRWoKPub2C97qOHkLiydheN9w8IgJ1ndu VZj2tCHehzTwIRzTwo3J55Awgq6gDnG6CdixGuzCFBuV9c98N5CooZ3KDIVGFjpSsbLa jsrFONqn/D07JMn5cQaZZ0waGyVvmQSPIGKlk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=GoJ883CSmuWdImYFXl/CKCtIpSQMQLOeiAZoLtHBZNU=; b=Z6CiFFHIvzTknxe1IqkGSEILiimrUGPGpNxJu97MNHkmKeg3BfBwARigjnccUFkgnB GIgc2/ja9WMlhmmA7g1OXHfDr6FcWJGKGRGVsj43qwmwPYm+tJ2Kp0X1kCSYYAwaaIl1 voQZ/+cRgAcb0GVOg+e6zFnXTgxDh0C/7h1AsNESwbWC2UtYSpTD/2AaWArfRjsjbR55 +DFRHZfk0Mf00dcyBfrjL1JRwR28882xfviVRxlnwIM85cqocqwTC9G4VEErsibIaza0 xDo8WREvTHoXVEI6v/kOZ0vikNVdpfeYzgrGa3G3H7uPj0S18uC9bACWbVr6XjEZ2Tgr 7sqQ== X-Gm-Message-State: ACgBeo0xdew96aEH8u7NLXwL743xfGbqIAzmqgI3nqanJVkyQo+x8LB1 jwUetzihlmYtmCjrdhbChp/Ahg== X-Google-Smtp-Source: AA6agR75Of768jj4Idndb0sWeIFEHXojrFUI9SplFYa04BYNSeO+cqaA3Oi32NsDAdtUZWVHTG5wvw== X-Received: by 2002:a17:902:d4d2:b0:178:491b:40d with SMTP id o18-20020a170902d4d200b00178491b040dmr7345364plg.79.1663159589235; Wed, 14 Sep 2022 05:46:29 -0700 (PDT) Received: from google.com ([240f:75:7537:3187:e5f0:cfaf:bc8c:558e]) by smtp.gmail.com with ESMTPSA id e5-20020a170902784500b00172e19c5f8bsm1694701pln.168.2022.09.14.05.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 05:46:28 -0700 (PDT) Date: Wed, 14 Sep 2022 21:46:21 +0900 From: Sergey Senozhatsky To: Thomas Gleixner Cc: LKML , John Ogness , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Peter Zijlstra , "Paul E. McKenney" , Daniel Vetter , Greg Kroah-Hartman , Helge Deller , Jason Wessel , Daniel Thompson Subject: Re: [patch RFC 07/29] printk: Convert console list walks for readers to list lock Message-ID: References: <20220910221947.171557773@linutronix.de> <20220910222300.783722057@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220910222300.783722057@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (22/09/11 00:27), Thomas Gleixner wrote: > Facilities which expose console information to sysfs or procfs can use the > new list protection to keep the list stable. No need to hold console lock. Yeah I guess it makes sense to take the list lock in console stop/start then. (I wonder if it'll be better to do it in this patch.) > Signed-off-by: Thomas Gleixner Reviewed-by: Sergey Senozhatsky