Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6122423ybv; Wed, 12 Feb 2020 06:26:40 -0800 (PST) X-Google-Smtp-Source: APXvYqy5AoyjaTgqhCQLlvax0/A711PQDeaTs8wqDBgprPYCJxnjy4+JXNEa7Di/UzeNsJ+/HKrE X-Received: by 2002:a9d:7c99:: with SMTP id q25mr9650477otn.105.1581517600126; Wed, 12 Feb 2020 06:26:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581517600; cv=none; d=google.com; s=arc-20160816; b=Oq9mH5tsXc2Y+lbS9Gu/soTKVf+lCewLDiFin/JUggaEFkig/3b1ctoNuhRkSCMxFi h4ngmV2Mz52Z8YMl9W30SGhZH2VFm0EY4SJwZT8xI4m871siEOYujmldDt5iTOM4+IA1 PD4pck9J5RnsQJoZD4ORwpW+2ygLelED5s8i3gWHne8lAh3TOUazgnHMjrSeVANhakzQ WZbXD+iXJ+zDivw2jqXKkQxZA14e/bnY3KbyppfEHH5cvzyQaiAlMQAy7HMbQq6TCxol ZDMduWo22NDFaESwYpV+xZZiomSISMzG2baRXD0O6IBHuLRqYI+q4q9c1wPsZHmaLNzE WPvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=FOlIzC5HTjqZ/SFt2TELgfua6bLrpSKfVaq81+qn3Zc=; b=oVF0wNdkD6kRt49ni5lLhg7Bu0in48cL1H3vz0Dc8q/CavMiObqdwQSj70u5Z4w+IZ Q94WGp0v4ZYExUc6OlSQhsQMPid+g0qfBA6QXTOdh3AUfBjVqCLLu1116hUdXFjD/24w 8BpvC0Rrs+tvKbxmQdv5LWzA84K4toiQSRRowG8w4p/59SZUPiq/OzZOHy2MwJaCJD+b /+xasSZm3Zyu86hrnXbhN4DKSpQjsBKOieNWBGTVMkWZu8eTaSKvtSpA59BE9PM/Huqj cuyzoK/xkqP9afs37ZfTHx9If43eY/7p4sssPxTdd2hVWA6gSepEnhZMZiA7em/sTzMf 57Pw== ARC-Authentication-Results: i=1; mx.google.com; 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 i2si281034otc.130.2020.02.12.06.26.27; Wed, 12 Feb 2020 06:26:40 -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; 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 S1728348AbgBLOYt (ORCPT + 99 others); Wed, 12 Feb 2020 09:24:49 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:49015 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727963AbgBLOYs (ORCPT ); Wed, 12 Feb 2020 09:24:48 -0500 Received: from localhost ([127.0.0.1] helo=vostro.local) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1j1swX-0006Bj-Uq; Wed, 12 Feb 2020 15:24:46 +0100 From: John Ogness To: Petr Mladek Cc: Sergey Senozhatsky , Andy Shevchenko , Sergey Senozhatsky , linux-kernel@vger.kernel.org, Steven Rostedt Subject: Re: [PATCH v1] printk: Declare log_wait as external variable References: <20200203131528.52825-1-andriy.shevchenko@linux.intel.com> <20200211124317.x5erhl7kvxj2nq6a@pathway.suse.cz> <20200212013133.GB13208@google.com> <20200212140355.56drih2wfcryjjtl@pathway.suse.cz> Date: Wed, 12 Feb 2020 15:24:44 +0100 In-Reply-To: <20200212140355.56drih2wfcryjjtl@pathway.suse.cz> (Petr Mladek's message of "Wed, 12 Feb 2020 15:03:55 +0100") Message-ID: <8736bfdgsz.fsf@linutronix.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-02-12, Petr Mladek wrote: > I would prefer to split it: > > + printk.c is already too big and would deserve splitting. > > + The two different kmgs interfaces are confusing on its > own. IMHO, it will be even more confusing when they > live in one huge source file. > > >> I can take a look at dev_ksmg.c/proc_kmsg.c option, unless >> someone else wants to spend their time on this. > > It would be lovely from my POV. I am only concerned about > the lockless printk() stuff. I would prefer to avoid creating > too many conflicts in the same merge window. Well, I am > not sure how many conflicts there would be. Adding John > into CC. I would also love to see these changes. But can we _please_ focus on the lockless printk ringbuffer merge first? The patches already exist and are (hopefully) being reviewed. I would prefer that such a heavy API replacement is done _before_ we start any massive refactoring. John Ogness