Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5992023ybf; Thu, 5 Mar 2020 10:55:37 -0800 (PST) X-Google-Smtp-Source: ADFU+vs8WPxhdxKhQIT9RSIeXWcKaxpTPMVXKCUtLCHiTqccnIuvXOK0zuC+X2Dmvc8d5GGhwAEP X-Received: by 2002:a05:6830:2157:: with SMTP id r23mr7893794otd.98.1583434536928; Thu, 05 Mar 2020 10:55:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583434536; cv=none; d=google.com; s=arc-20160816; b=UUHAr5McODsHi8BRxdpf88nxCR3ODHcD3OZTLBeHC2PObb2ngzDAQ6GafGc/WxZfsG IhzeT/SWAYCclCXeGAbZB7MVDo/Ajuw14mvIygErOtHldfN67c7m0w1U7opn+puNJoqV BmWa6s0WV0bD3IljaWAJ4DZk8nBRq8XxW0CA/jmebG9uuoWP6DEXdAB4VeTEd+gvF0/l /DoJk1ge6BF958FmR6c6jljp7EJqk7JZpkKVTHxCVGE6qnBmhUseEs0GFdb1uFP9Ejwy P0gUI9beTyXM/Q63ai63OxwX3iV0nx+Hs9He3JN0IY24si4VcpjtoHrsAFeEXetw2ieU HQQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=T7HzjIsNXTSaZvQvxlk0IbW69JJ86WxLA0QbIwi6gCc=; b=m5+keQtWUP1ZM2EhA5C0YfuncMNLVAzkbq5VJCE3W1yp0iEOANstuYqQROQ+/WEKq7 835y7XoZpASlC9IMPcRSybzVDqc9nK7yWVvJRB1nM1QTJ48T2E168f9ogGwnU9Tf5B+W aScLL4xv3s/Iews9Tu5sRUgga1oE34hN785Dz2kEo6ZS0KUyNIoBjZeseQsTqjm3aRp9 ba4Tj33wmqiJEawM/xXNgJM5sjt+VBL9Om0HDPs35rnn241IpZMB6l/NLU65VmAgP76/ N+bRS/GFp2yzrrKFBO7adByqDo3AqXk6A/aij23809FKLy6YEpg7zCzZ21Y0pAeYD/dv dW3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YZXkramL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m18si2196880ots.151.2020.03.05.10.55.24; Thu, 05 Mar 2020 10:55:36 -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=@kernel.org header.s=default header.b=YZXkramL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726087AbgCESxx (ORCPT + 99 others); Thu, 5 Mar 2020 13:53:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:47960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbgCESxx (ORCPT ); Thu, 5 Mar 2020 13:53:53 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CE9EB20716; Thu, 5 Mar 2020 18:53:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583434431; bh=vBbNg6fZxdddRM7UYfGLolWtdb/qaErKZin8V84yJyQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YZXkramL97DoVXcckOT6XLBbVnCMIzzBx5T2RoqGUoIsmjDsj6E4rxFMR1NjC4+jM ww+yIci/U/TudWgN2Mj3Ihnxb77bakGAgMQQyD+SpRcvSEkyT1mmWdGCqt7Ak3kBDY xzlalDo68G37QAralnT0Y7LDm+m36TEWTkCU3SPc= Date: Thu, 5 Mar 2020 19:53:48 +0100 From: Greg Kroah-Hartman To: Sergey Senozhatsky Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , linux-kernel@vger.kernel.org, Lech Perczak , Theodore Ts'o , John Ogness Subject: Re: [PATCHv2] printk: queue wake_up_klogd irq_work only if per-CPU areas are ready Message-ID: <20200305185348.GB2141048@kroah.com> References: <20200303113002.63089-1-sergey.senozhatsky@gmail.com> <20200304152159.2p7d7dnztf433i24@pathway.suse.cz> <20200305013014.GA174444@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200305013014.GA174444@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 05, 2020 at 10:30:14AM +0900, Sergey Senozhatsky wrote: > On (20/03/04 16:21), Petr Mladek wrote: > [..] > > > Fix printk_deferred() and do not queue per-CPU irq_work > > > before per-CPU areas are initialized. > > > > > > [0] https://lore.kernel.org/lkml/aa0732c6-5c4e-8a8b-a1c1-75ebe3dca05b@camlintechnologies.com/ > > > > > > Signed-off-by: Sergey Senozhatsky > > > Reported-by: Lech Perczak > > > Cc: Greg Kroah-Hartman > > > Cc: Theodore Ts'o > > > Cc: John Ogness > > > > Reviewed-by: Petr Mladek > > Thanks! > > > Now, the question is whether to hurry this fix into 5.6 or if > > it could wait for 5.7. > > > > I think that it could wait because 5.6 is not affected by > > the particular printk_deferred(). This patch fixes a long-term > > generic problem. But I am open for other opinions. > > Good question. My 5 cents, I would _probably_ push it now. Not > because it fixes any known issues on 5.6, but because we have > a number of LTS kernel (4.19, 4.14, 4.9, 4.4, 3.16) that can be > affected should 1b710b1b10eff9d4 be backported to those kernels. It was backported there, and now has been reverted. So no big rush from what I can tell. thanks, greg k-h