Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp774285imu; Thu, 13 Dec 2018 04:21:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/V3Z+a2uCQk8sH2QohBYy4nhku9DSGEzJCIcp9MmwOEYyDiwGUPBSHbCJZq41c8gS5i11NX X-Received: by 2002:a62:e0d8:: with SMTP id d85mr23515580pfm.214.1544703691862; Thu, 13 Dec 2018 04:21:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544703691; cv=none; d=google.com; s=arc-20160816; b=bHFw2bA6vZhVe1uNz2Kbe6qIUkzkuT22EOg1G1EgGrIepYoktgy6LL2AT5dAz7YnIQ X/10lGzN0/lywLsues0IbQN+JdYFN9N+j9mMrwIaXqEZqcpko7aUzvxIT1ghUCyq0WWK KSs3Gljke8GQjOvg+lRi8LzOA6wtByOsKnxT09BCIk43uWyMlCzC9iNhwPxpa5JlBbgQ AGsFPkZG5fOUTCnfZ2VNlX3Qb15LPdwesKjLtxhO0/TajjNmgEl3H06FVO1oqLABXT0z ILHYfr3QEuh8VqRzvfibRf5JL76+TiMri0f1DYcyO7W+Wlw7TSvsX7I+maEpKK0BvPbS 5LyA== 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; bh=iXiTkyujXLb5GVXMm42mjCJqVPtxedm3NiUWcCq5pBc=; b=IkAIOHPilXxrSvFvK2qRzE/2yXAAq5CDb47ZFBr7DwiQvg65OjGof1VdVRJwsjASEE D2f3UmS+Nt+ADBAMCCVgWrp4NR4YcST0XA6B/AfKQOLVjUsilsq1+svpJIePzb9yPSZo BRpcoeMnzrEZLoHV0aaQwBNYCnczDMUnZsxYkaz1X17hqYgBiOt+20JxLsq4/QwORgUM bYxs9HAGnu+4rl3g0DvaZbh/KImGXbdA9OJDYMxbKJEowj9W2BD3fYcc2iuWPXs9UurX Y55Dq+wmajqq4TfTpJy/PD6hJ5bBazZSkGsU6xLmxMZ1bTFTxLs82XbGsCmx6TcmKpgW +zzg== 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 e6si1423517pgl.471.2018.12.13.04.21.17; Thu, 13 Dec 2018 04:21:31 -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 S1729059AbeLMMSu (ORCPT + 99 others); Thu, 13 Dec 2018 07:18:50 -0500 Received: from mx2.suse.de ([195.135.220.15]:54676 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728766AbeLMMSu (ORCPT ); Thu, 13 Dec 2018 07:18:50 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 31E44AE98; Thu, 13 Dec 2018 12:18:48 +0000 (UTC) Date: Thu, 13 Dec 2018 13:18:47 +0100 From: Petr Mladek To: Tetsuo Handa Cc: Dmitry Vyukov , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Andrew Morton , LKML , syzkaller Subject: Re: [PATCH] printk: Add caller information to printk() output. Message-ID: <20181213121847.mwlr2vyv6qzclhk6@pathway.suse.cz> References: <1543045075-3008-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <20181130154024.ls3mntfdr4zvluub@pathway.suse.cz> <20181203150603.cdqii263e4kmmibo@pathway.suse.cz> <20181204152724.ypk44mi4a56nrud4@pathway.suse.cz> <459018db-763b-9520-ead2-2c0d5975fbf3@i-love.sakura.ne.jp> <20181210130930.bas4fozjhe3dc5nu@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2018-12-11 19:26:48, Tetsuo Handa wrote: > >From bdb80508390694456f3f864f9651d047ded109bf Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa > Date: Tue, 11 Dec 2018 19:23:30 +0900 > Subject: [PATCH v4] printk: Add caller information to printk() output. > > Sometimes we want to print a series of printk() messages to consoles > without being disturbed by concurrent printk() from interrupts and/or > other threads. But we can't enforce printk() callers to use their local > buffers because we need to ask them to make too much changes. Also, even > buffering up to one line inside printk() might cause failing to emit > an important clue under critical situation. > > Therefore, instead of trying to help buffering, let's try to help > reconstructing messages by saving caller information as of calling > log_store() and adding it as "[T$thread_id]" or "[C$processor_id]" > upon printing to consoles. > > Signed-off-by: Tetsuo Handa The patch looks fine to me: Reviewed-by: Petr Mladek Sergey, would you mind to ack this patch as well? From my point of view, the patch is ready to go into linux-next. Well, I would prefer to keep it there one more release cycle. There is no rush. The patch is primary for 0-day robot. We are very close to the next merge window that will be problematic because of the holidays. Best Regards, Petr