Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1196436ybh; Sun, 19 Jul 2020 11:29:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5rymGFDedW+gvTq2zwlTI7JnyCP9x94WfAyhh9L1PiymbmIFJp/ljh/Uuqqht5vXquOXt X-Received: by 2002:aa7:c31a:: with SMTP id l26mr17763227edq.61.1595183371674; Sun, 19 Jul 2020 11:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595183371; cv=none; d=google.com; s=arc-20160816; b=myuVDv9/BlNmb3A3ctP665/o4khWj7iK/psY77cOXIIaILzc0s7mx5ehMy899Kq7Bs L1phnpTIIsUOWKUQ1kBDzJk3fxVzE4R9Q5uFaPEwsimywf7u0aQ3wgKOEQrplSo1APvU tX15ugD7zkmWSYlb2vSVtmecG0fG6qF47O/v8xCq8l6GiYOt7O+l3F03g550rEA+0nOp IP2+RiVJ75RFwnwnKN8QHnihmpqROuJeyllxBcrdgpCDFbwvygEOUIZEj7g5NaxupSZ9 gvjqRnUDumELRgvG8JGCfT9mPRkxRCGadJL3JweeNFZW0hSAIXHG7Ud9REfwUn0sdO5u INIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PhhbzvucFkqakxARis8Sxj56SPuBqmQrW/ijj9gwFQ0=; b=WcEdWTWq3t0jbFbeBsh2jbP3wH83U5a1bc+K3W2bM6ydIDbww0SWrjE/Jio+51hnk/ qp9tpVE7bQsfKv+Ng5PIrHHsUZDoek0+pjLVWEibLckF40zwouFYD5KRhsBCA6g3veEA PRgramxi0QXWXqUPrxp9C03xhce+m7vEtDBI+01dJ+Y4Y+mlDGm/Ra4OlpBfOh1bqnqC jvJT3B7gPTjGMHkJz8ECdxto4BIBBNVzzlwkNyVe1e4Dg2NV0PWKlhaXM7xGd86ganM7 WjmeAEUs8p4Z2B0FZDyWXFCkODLdU4cnVlwWIYXZSD991SjMLHKu8lGUl0re/u+ukIYU LbSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=CLLngWB0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l22si8997000eji.104.2020.07.19.11.29.08; Sun, 19 Jul 2020 11:29:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=CLLngWB0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726085AbgGSS2A (ORCPT + 99 others); Sun, 19 Jul 2020 14:28:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbgGSS17 (ORCPT ); Sun, 19 Jul 2020 14:27:59 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A5BEC0619D2 for ; Sun, 19 Jul 2020 11:27:59 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id b11so6168376lfe.10 for ; Sun, 19 Jul 2020 11:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PhhbzvucFkqakxARis8Sxj56SPuBqmQrW/ijj9gwFQ0=; b=CLLngWB0WxpE2RJRwDT7YyQzRzXMJSZZRACN77HN9swGDQl3M1BjEHchStCuMkE/0i txvKyP+mB18gwerf3S+Q0QK32pEZdrjt/K+5nOSTeqkTioKEUYym1YDIGb54ZWjDp3f2 JBN1QZN0lNogsjhUokZp49JpVeCNk0vxqPnNQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PhhbzvucFkqakxARis8Sxj56SPuBqmQrW/ijj9gwFQ0=; b=XQ3nsv5oLxNsgbBHMvVTClo2EtTyFFFMY5kCZFSAsa+QkTrlOoN/4o9WnZIZxF43Yg 8u+cnCxP/O1KlQbeis0Oi/5Fwdm2/hAaSEHI174R7HhO7Pa6JAvzSqZQP4cBQMfEhcmO F7YVkAlv0X7cFzbTLWZdgpousKgZdZadH6g1PW1okUgR6ZLDgT7xpcE7VBCE8gMv6Gi6 1oAhl/Mo54bouYBV6NKRRZrrP58RHc9v6ojAxnoyyOKZ0j54cYhfGL+vVQ2JkY2kJysD 2NEjwO1p+vlTztWytNZL9QDyEyimo98g3VbCIIvezwrH5xUInS9N97M8KZSs9efKv6PO 5Etw== X-Gm-Message-State: AOAM531whnAwwT7GiIuQeMm3HzOLPRzM351Ib0vaMCz6gBuVr+5VgWtg pKWPzi2oC5W/S3EEa0P5AfQWE1xvLPA= X-Received: by 2002:a19:6d1e:: with SMTP id i30mr1402186lfc.104.1595183277353; Sun, 19 Jul 2020 11:27:57 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id k12sm3142052lfe.68.2020.07.19.11.27.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jul 2020 11:27:56 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id f5so17869056ljj.10 for ; Sun, 19 Jul 2020 11:27:55 -0700 (PDT) X-Received: by 2002:a2e:9c92:: with SMTP id x18mr8205568lji.70.1595183275645; Sun, 19 Jul 2020 11:27:55 -0700 (PDT) MIME-Version: 1.0 References: <20200717234818.8622-1-john.ogness@linutronix.de> <20200717234818.8622-3-john.ogness@linutronix.de> <20200719143527.GA566@jagdpanzerIV.localdomain> In-Reply-To: <20200719143527.GA566@jagdpanzerIV.localdomain> From: Linus Torvalds Date: Sun, 19 Jul 2020 11:27:39 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/4] printk: store instead of processing cont parts To: Sergey Senozhatsky Cc: John Ogness , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Greg Kroah-Hartman , Peter Zijlstra , Thomas Gleixner , kexec@lists.infradead.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 19, 2020 at 7:35 AM Sergey Senozhatsky wrote: > > Can we merge lines that we don't want to merge? > > pr_cont() -> IRQ -> pr_cont() -> NMI -> pr_cont() That pr_cont in either IRQ or NMI context would be a bug. You can't validly have a PR_CONT without the non-cont that precedes it. Linus