Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3355602imm; Sun, 24 Jun 2018 18:42:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKITh1ZXApC1jSUMm0NQU9fEAI4b4u0NcAs4z196auEdWMI00ygR/zpBzKlX8BsZn2JQuBLt X-Received: by 2002:a63:7d06:: with SMTP id y6-v6mr8915605pgc.356.1529890942796; Sun, 24 Jun 2018 18:42:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529890942; cv=none; d=google.com; s=arc-20160816; b=T8TkQAEIe8ycwg48Tmz00ncmyq5oWIOiTWj+Xcx5kU+MSNKlELgBrn83oFPtZkqt4F CcJPAhIRaTo6WQXsZxwWW1ZeJ653cK6u1GMi35Vvy3kZPjrQkCwWoDCESH9QFoxmpxqK Z30I+2CSW6cmaPN22WZOy9VL+vV0FRdOJk5yq5zFOHB0rFYjyA5eQySy9bbzyF+9TNYH Ha+FAoPb3/34iKtBuA57+5qzAod7SrseY3W0H3L99FJ8DBG8Fw6vvq4GeIl5NHUPzYSN 1/YkhPc2L+tDSvnipmNa0eQDgsLHbqb21XynrNP9rYk2cDZZ1ccFDc+5RULOdsT7qBqN BUbg== 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=r/5HPanB+EgSbzHZAngaYkLt/i80VDFqqgNr+DMi/SU=; b=WS7uoniES1SKJqjE9Mh1DnMrnIodu708CQDqGsQLa1YvOsen88OlZ/dVhTwJA9qbHB A6VbjVTPkzfuZ5YozXtQveHWGrZGureGAoo/fk8JXuiPjtQNmOzIWjl6O2sZrSf3fTMP L+UQavv8GlVFaO8fDmnvwnnYpiFjrR7ujcbqeMWmgoBs2pkml6W98HO+sHvH6U62CHgC Rt4vA+yXadlmSUUa3TeUmvaYRVNe1ZbJSmrqha6COG69xByc2EgShTmCAYW+U4khdg77 hjQ5dZ1XJE0ImrJklUuRz+L9hlbhSWXJXpDw949QBV7sH0hr5jFRtjW4yESjhc27qFHB ClWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=siNt4abR; 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 29-v6si12838857pfs.40.2018.06.24.18.42.08; Sun, 24 Jun 2018 18:42:22 -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=siNt4abR; 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 S1752605AbeFYBl3 (ORCPT + 99 others); Sun, 24 Jun 2018 21:41:29 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:40145 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752292AbeFYBl1 (ORCPT ); Sun, 24 Jun 2018 21:41:27 -0400 Received: by mail-pf0-f193.google.com with SMTP id z24-v6so5676220pfe.7 for ; Sun, 24 Jun 2018 18:41:27 -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=r/5HPanB+EgSbzHZAngaYkLt/i80VDFqqgNr+DMi/SU=; b=siNt4abRzlFGTy8cBZ16ltoIo2JYdOkSv3r8XzavlUEl59C5gxZTC00OYx63kF5Lpt OR93KxHwkd+c91zDd3qhz7yqWSYvtooOWdnBEGYGSUJ3XfJri7pm90e/dIJMWscLBsBN yiy/+8h+cuiwQv71T4t2716Vu8TdDyI0QTKP9RADjK7TJdhzORXHmCxSDq2Tt3SHs674 zokMw7W1R2HXOf92qbIa4sJRx0ZU3jy71TXhoapJ85SyQgtS4IqfkArLsaZjRfuBuX1P 9efWtuoCi1rGwQ/Abqlz5VxE3SOfXFc1sjLt8VFYpxgviHkF1TfrFdGjH+NysyAf+bVw AoYQ== 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=r/5HPanB+EgSbzHZAngaYkLt/i80VDFqqgNr+DMi/SU=; b=hvpV1RvcOg+DrkW5++mh8hOmpXsSXc/1HYsuoAsempkI6JpbqcvH3hXgShsezmkdg1 rlv43+1zakXOUTu32IJD7iHPzeP/0UOcLZT6silf4xe030/o/pm6TXmFJNfT0prMr/pl U11WFNN+v5RQAJd9RMJRnenN/VHkrjRlehdhxPSFjJAtXzXPo/CVVs20mT4yZSz3r4IK moxQ2ds3p521ipR65DrEurYJ1RXyGrMR4T8Bu0N9hPIFRMog9dbaTz6zYC4ra6zmck/a qv/vhMIBrtOAXDwsxVeO9rdL5Yi5/N9VOE3V9IYYtI7Prs10xI3iDz3PmFxxq/hBrdID hEyw== X-Gm-Message-State: APt69E3YEOD4a6VGPRaoOXUBR89Ug/IBSCD4FG17fS9wX47syoXV2QJX CCK6JnglYhdWWx45BCgS7rg= X-Received: by 2002:a63:7a07:: with SMTP id v7-v6mr8857540pgc.444.1529890887154; Sun, 24 Jun 2018 18:41:27 -0700 (PDT) Received: from localhost ([39.7.19.250]) by smtp.gmail.com with ESMTPSA id s87-v6sm8813825pfa.106.2018.06.24.18.41.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Jun 2018 18:41:25 -0700 (PDT) Date: Mon, 25 Jun 2018 10:41:22 +0900 From: Sergey Senozhatsky To: Tetsuo Handa Cc: Sergey Senozhatsky , Dmitry Vyukov , Fengguang Wu , Sergey Senozhatsky , Petr Mladek , syzkaller , Steven Rostedt , LKML , Linus Torvalds , Andrew Morton Subject: Re: [PATCH] printk: inject caller information into the body of message Message-ID: <20180625014122.GB557@jagdpanzerIV> References: <20180620083126.GA477@jagdpanzerIV> <20180620090413.GA444@jagdpanzerIV> <20180620091541.GB444@jagdpanzerIV> <20180620110759.GD444@jagdpanzerIV> <20180620130628.GA1000@tigerII.localdomain> <197be25e-c841-bf3c-7081-61f0a9653c8c@i-love.sakura.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <197be25e-c841-bf3c-7081-61f0a9653c8c@i-love.sakura.ne.jp> 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/22/18 22:06), Tetsuo Handa wrote: > > > > Awesome. If you and Fengguang can combine forces and lead the > > whole thing towards "we couldn't care of pr_cont() less", it > > would be really huuuuuge. Go for it! > > Can't we have seq_printf()-like one which flushes automatically upon seeing '\n' > or buffer full? Printing memory information is using a lot of pr_cont(), even in > function names (e.g. http://lkml.kernel.org/r/20180622083949.GR10465@dhcp22.suse.cz ). > Since OOM killer code is serialized by oom_lock, we can use static buffer for > OOM killer messages. I'm not the right guy to answer this question. Sorry. We need to Cc MM people on this. Does OOM's pr_cont() usage cause too much disturbance to syzkaller? I thought that OOM was slightly out of sight. -ss