Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2103437ybf; Mon, 2 Mar 2020 01:59:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwlfFR4jvDPrXC3Jy6m9sD59VLYmPilwBGj+lfouxebBApxC39/EMe6mbtRUbcD7E3CKgqw X-Received: by 2002:a9d:da5:: with SMTP id 34mr11432525ots.226.1583143191493; Mon, 02 Mar 2020 01:59:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583143191; cv=none; d=google.com; s=arc-20160816; b=xFy+mupy89UNKk4igHmDXdkJtnZd8NMmS9YZVfUJydsPTU+7GE396Uhw8KKRZWXfjf pulm4wzL2CjQGCxjq5U4Y44CtspzTvOu2EKKsLfrlNH0OfwVHdxqqN1oK4AU4ssB+K/G 2FfrEgPjA9YlKfoCS3ABnNA2ibXtLtqi/7ZuxcpB7CJxBjVlcW3cqTk/rHyoRWwL7ODG 8L/687gO95Spa1B3xvnuy+wi/ymSP4WaFGv/FZETYsuUvvia04/uEpyTD1inQytKTBAq TcQl503vBvctquadoUwSxKYp9oTD/bI6attnKstP8elRRHiCt5qMmmHAnyGO99sbXKbC TlqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yBAtOE7z+JsF0yFi8ZyN6O418OZ3pIjiUlokh8yYoZ8=; b=UgooYt+fUoeG0a8dXDS17eIpn5eETWJWoGqtCqETi0KXY/8HLmS8UnE6k+ZPN5tSJu O7eXsmNYNFBBt/7KOVqqwF12fM+8OwYkWLyvwgj5BBu6CKpHdFHpBt1pieEA1RyoHYsC t+e+h8QKtAAwxv/niuc41GbGzY26XzBXdF5EbImAE0ot6/1qw6gYUJxmA/JnUgZCeSFy 4jCQZORdhRYv8G6ZqqDuV8oNKfT9XjaQCixmSsHAjlcx0O17wzJ7Xw/HpAT2/xJKf0lG KEBbfrdxR/M89+CuwijSPKGigHMjtCJ+zbM3maZwPPzvVg5hEYD5MbhRCoycGpRB+zfj DdhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hFrAoUaG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a190si2775128oii.21.2020.03.02.01.59.39; Mon, 02 Mar 2020 01:59:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hFrAoUaG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727627AbgCBJ7V (ORCPT + 99 others); Mon, 2 Mar 2020 04:59:21 -0500 Received: from mail-pj1-f47.google.com ([209.85.216.47]:51252 "EHLO mail-pj1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727060AbgCBJ7U (ORCPT ); Mon, 2 Mar 2020 04:59:20 -0500 Received: by mail-pj1-f47.google.com with SMTP id l8so694077pjy.1 for ; Mon, 02 Mar 2020 01:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yBAtOE7z+JsF0yFi8ZyN6O418OZ3pIjiUlokh8yYoZ8=; b=hFrAoUaG9P3sVx8CACSo7eEyWZFX13nPr6Nag0DvYdFRF2HgTU5s/7joXFgX3X4PqK RKkTQzqHU5w4Q4ZdVxiD7amzx27Rloqksn5pTdT8akJ0mvoHL9n9D4dkzu4SZDnJjunS +ugyMF+UfwhBym3nPGcT4gYbNJsC0o1meklRXlGsa8tVFnX6VA9YQ/f/wQOuUTfS39fE KBPwoJI3Te3OvEhcSH7BFs5ess3AiKWbHrX6igIOY8SHqfsaVc1ldSzjdGAOZ5ZPAe2F d4hMbx3Etvv1CSigCTh4OmrqlBDOQqvBBJFRC8Pg5XEZhgdTksPXFmpmQpZmY7D2xmq1 MrSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yBAtOE7z+JsF0yFi8ZyN6O418OZ3pIjiUlokh8yYoZ8=; b=E5RFhIh2nU8GbpjDUyAz2/eYHwRQHUJIGsTfKPNtFeMSvygfjfD8CC06SQgPk82RuT oOuucV3XTCoB4kx2ajofgW6lKYTpUmb8uwIcpXI4vuRkjop4slDc0eWxf5Ky9Cljkzy6 L39QTiD7tWuUpZpIWTmxmj7bWvkln1bqJCtvty/WTHTl0W8UHEwn9dsFPlLGHO0ra3a0 jjtndnWsqpcIjI6dHnxkdQdVcsjU5oBr6+zfL9qErhp/Y9n3e6xP75tMIid3jG8+CiPC 0NsSWe49pzlRhwiced5YNmLQbAEFccm8UhRIenvBUTWcIsULvixMe6XHnCbMBoEfiJlt NQrg== X-Gm-Message-State: APjAAAXVlfiKS4J+RuJU/dTM03SsH1rlBtVenc6t/xrmM4JMtCNwlFCl bgErmjkdT3NsI/jEUo0akNU= X-Received: by 2002:a17:90a:3188:: with SMTP id j8mr19946254pjb.82.1583143159704; Mon, 02 Mar 2020 01:59:19 -0800 (PST) Received: from localhost ([2401:fa00:8f:203:5bbb:c872:f2b1:f53b]) by smtp.gmail.com with ESMTPSA id p2sm1341004pfb.41.2020.03.02.01.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 01:59:18 -0800 (PST) Date: Mon, 2 Mar 2020 18:59:16 +0900 From: Sergey Senozhatsky To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , "Theodore Y. Ts'o" , Greg Kroah-Hartman , Lech Perczak , "linux-kernel@vger.kernel.org" , Arnd Bergmann , Krzysztof =?utf-8?Q?Drobi=C5=84ski?= , Pawel Lenkow , John Ogness , Tejun Heo , Peter Zijlstra Subject: Re: Regression in v4.19.106 breaking waking up of readers of /proc/kmsg and /dev/kmsg Message-ID: <20200302095916.GA66317@google.com> References: <20200228031306.GO122464@google.com> <20200228100416.6bwathdtopwat5wy@pathway.suse.cz> <20200228105836.GA2913504@kroah.com> <20200228113214.kew4xi5tkbo7bpou@pathway.suse.cz> <20200228130217.rj6qge2en26bdp7b@pathway.suse.cz> <20200228205334.GF101220@mit.edu> <20200229033253.GA212847@google.com> <20200229184719.714dee74@oasis.local.home> <20200301052219.GA83612@google.com> <20200302094907.qdbhe6iobegah56t@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200302094907.qdbhe6iobegah56t@pathway.suse.cz> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/03/02 10:49), Petr Mladek wrote: [..] > It is just a detail. But I would make the flag independent > on the existing printk_safe stuff. printk_safe will get removed > with the lockless printk buffer. While the irq_work() will still > be needed for the wakeup functions. Yeah, somehow I thought, for a moment, that we would also remove printk_deferred() once we have lockless buffer, but seems that we can remove it only when console_sem is gone. > Sergey, do you agree and want to update your patch accordingly? Yes, can update the patch. -ss