Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3549338imm; Sun, 17 Jun 2018 23:15:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKMQIO+DBvvpkh4RptT+fIIyDaFfVuyjFwJlJcB6dIdOSIYxAdAlDx9/eruDx/7qSJNBLVJ X-Received: by 2002:a62:9513:: with SMTP id p19-v6mr12076184pfd.239.1529302520884; Sun, 17 Jun 2018 23:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529302520; cv=none; d=google.com; s=arc-20160816; b=a3e4VwkYqDGsDrxnqpepSLm9MKaFexbM3tsRMvLQX66MCXW6eH6BdnXFiC7HMLryc3 voA7wUolhLXe4qhtO66ggIvAguV9xDti6F4jfr1S/lMjt/GxhFyJps3gvQvrHhaC8Ux6 hiBiV934bq1d3GTpmuiw5sxi7VyyEfyV5mNu3JrlISGYzENLffdA2QFLLDmhTuHKmFZo sLpqrAQP0u1c7974sBHVWscM9p3NsGpGEv1iyg3pWHfniPO7q0UeY//Gr1Gfd9qx0Y86 Rz2As4VzRRcQe14+NN8IBIRbZdAA5ZlhR3hIjoco4CxwzSCLXIF/mVvIWkU5jcA2033O j5Gg== 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:arc-authentication-results; bh=EBIq2zYTdekMHYe0MUFpLFiOUiGloZohbSOfSDMHbMU=; b=WHmz/2Wh/+no6dPO4i9UMXuKdBO/px6D3bGfWMA2F/rMxCgAgsHiQeVQJIWWyWLIv+ ovx/6mAFPsZs/3gnzvA+SMIy8Gm3mjBWXgrvPVMBuJkMDB1IMtWKfvsBTlOU4dfJZZCb 8ioAuNoEZmvuJAzLPm5D1KzxNUWUk34s+p4oLX93V15CDOG4Hg7KYDElZEONVTArsRFX kBo2UKMHy46FMJursiWDdDCSY4FUOgHHKvHFovCAD7iMkZ4/lKBvqicHUKwsqU36Yvdj qevHmxxWWIcQNJ+tFEqp0eoWW5YW4jN7fM44mznhz266+QjlFgUxfLLDYPOoiEOejdP5 mQrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e6fn6Qr+; 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 5-v6si11699553pgb.430.2018.06.17.23.15.06; Sun, 17 Jun 2018 23:15:20 -0700 (PDT) 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=e6fn6Qr+; 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 S1754747AbeFRGO1 (ORCPT + 99 others); Mon, 18 Jun 2018 02:14:27 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:34760 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754458AbeFRGO0 (ORCPT ); Mon, 18 Jun 2018 02:14:26 -0400 Received: by mail-pl0-f68.google.com with SMTP id g20-v6so8441429plq.1 for ; Sun, 17 Jun 2018 23:14:25 -0700 (PDT) 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=EBIq2zYTdekMHYe0MUFpLFiOUiGloZohbSOfSDMHbMU=; b=e6fn6Qr+L4VKYfuRtOKX4sldmjn9pNC+2gHVKKxIr4tDs8pLe2hBgwlrK1DcYBuBYZ niNlNv6E+q3Mttb2y/msaVWrtNiGAg3vyYL3d05prcuCye4XwuqHUw2z+spScCFaM0W5 Pa8QevG1xk01Vnb5k3PzbeUBF6wyOoCnFMOmmPdO04bltGHZALc36HGrYu4IycTQkHKe d3VpQ2ewhBCPEvP9IMV3fGELUTkZcWWn08M6dg6IwoB4jOSGv0H1rKLzuTmsnfXpB6eH geCLOBpAUqQDXZv1Oz/UPSXw6h6qS1u7+B1TkXMkN9T6gfl6Mm2FT/9/+QbJOvbWVAVk bdzg== 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=EBIq2zYTdekMHYe0MUFpLFiOUiGloZohbSOfSDMHbMU=; b=RndxQb2fA16S1bEdQfRA8QkPlouEeBdSEGLq1XAPHLrYfQNtdLsiqGrBjiItLXtIWL WiI2QM1kqvnCaP0EGB5T3eKomRiRLOlAPFxGqmk2OhN1BPX3j0hVkP/m3KqG0v1tUlov aHkxvM4z/ovRcryVCFiXZ/E++ZK00m6VNslK64m/1ozJloR/GRBC3nsFlPPSAIjeQFjC dVTC0zmKv1j+c3H6XZ+cquzjelBAX6I+w2TbD3ZkB0gucGQLynYSVgAXC777+57eqhLK at/oGGrnY0O5QXX4/Crnf1yW1x8tsMwhGApFkXTxS8umgjd9euAl5UvTEhsKukY4JEfA qZQA== X-Gm-Message-State: APt69E2gJZWzRetYEIVa0uhDKFUoCI4I1UuB/lZQ/AYQySGgZYYYqUpM xODP8AVNCtV5+7tz1QOPlVk= X-Received: by 2002:a17:902:3181:: with SMTP id x1-v6mr12582576plb.198.1529302465215; Sun, 17 Jun 2018 23:14:25 -0700 (PDT) Received: from localhost ([110.70.54.122]) by smtp.gmail.com with ESMTPSA id x72-v6sm26317271pff.176.2018.06.17.23.14.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Jun 2018 23:14:23 -0700 (PDT) Date: Mon, 18 Jun 2018 15:14:20 +0900 From: Sergey Senozhatsky To: Petr Mladek Cc: Maninder Singh , sergey.senozhatsky@gmail.com, rostedt@goodmis.org, linux-kernel@vger.kernel.org, a.sahrawat@samsung.com, pankaj.m@samsung.com, v.narang@samsung.com Subject: Re: [PATCH v2] printk: make sure to print log on console. Message-ID: <20180618061420.GB448@jagdpanzerIV> References: <20180601090029epcas5p3cc93d4bfbebb3199f0a2684058da7e26~z-a_jkmrI2993329933epcas5p3q@epcas5p3.samsung.com> <20180608083906.fwx3r3y2pxtv3ga6@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180608083906.fwx3r3y2pxtv3ga6@pathway.suse.cz> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (06/08/18 10:39), Petr Mladek wrote: [..] > It might make sense to document the limitations reported by > Sergey. I mean to add something like: > > "There are still some corner cases where this patch is not enough, > for example, when the messages are flushed later from printk_safe > buffers or when there are races between console_verbose() and > console_silent() callers." Agree. Probably a link to the email would also be helpful. > > reused flag LOG_NOCONS as its usage is gone long back. > > (5c2992ee7fd8a29d04125dc0aa3522784c5fa5eb) > > > > Signed-off-by: Vaneet Narang > > Signed-off-by: Maninder Singh > > Anyway. the patch helps in many situations and it is a step in the right > direction: So I'm not objecting the patch and will review it shortly. For educational purposes only: Would be appreciated if you guys could point out what those "many situations" are (in the mainline kernel). Could you do that for me? This is a real question. Otherwise it feels like I'm missing the real [mainline kernel] importance and significance of this patch. -ss