Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1807037imm; Sat, 13 Oct 2018 04:23:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV63wdDH/zA934yftWCfIl768mHLpqDGFfRDr7dPT0/pVmOr7NTq555IGWIgno/Bv2NvHbA3K X-Received: by 2002:a17:902:bd0a:: with SMTP id p10-v6mr9246105pls.245.1539429801873; Sat, 13 Oct 2018 04:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539429801; cv=none; d=google.com; s=arc-20160816; b=pxWXOgVQO8xMBfAMtmhM3Vn9IAsyBoJgb8R5+2JU2+klHTinplO9tvKP6Re3pAz07v OK23rDvqgZ/BJvr8LfNtA/cUWwNEXPc8aOTnNEglGVkh8Cbdx/ex4RR3zm7tHAjDMGUI 40suf0pVWXrkEphVLQGh7k/RqCDZmHTJWxfo5oiLzMiVYP/hgavuZb9ZZpwC44sjJroF bCXBzvGK3zYua0wzOnRMBUZ3Wcdg4Ecnqyaw7JR2PI9pH3weBbfInWpJf5HfLrbYYXC7 d3jCzxfhoklS1bthwHDZFA5eSNhAL1CEj5+0jdTxZpR7/TPiLShiuyOnCzSK87NYu6Qr vcMA== 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; bh=t6XY8jAo259QHqFpGkugyhLS2yjq9bXTVFY8Nipgs98=; b=MVeH9SLGV4LVkimhsLCxp09Wi9Ij/NObDl6UQtOOXqwarB6NNodqR16hCVZA7Fgv0S M+vTVLC+ZvlLbg+oKSacPBOh2LoYkMQJ2o1jvNJP8Qfvv0DmMocP2ZjaLDgOx6XLxv6t NVSTqCikB9zCKb3GIm5O4x1ZUCr5NEJ7NFclU/CdgXf79QV1sSYtH1QNmYCQtan7z6XH iMmEcnFwxjPFynmOnYNX/Im6uKB07xX3fCTH/WZ0IMMLW3aEnvMFEjB2r1bt9fVlDx9e DE0Xd3fFRZ8k5ItahsRmJ09lx40nWAvliFHDsBpq8iC8D23mXRy0+UDDwlT2/d0zPiLA r7Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=nAzmCR1p; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9-v6si4331062pfk.27.2018.10.13.04.23.06; Sat, 13 Oct 2018 04:23:21 -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=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=nAzmCR1p; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726273AbeJMS70 (ORCPT + 99 others); Sat, 13 Oct 2018 14:59:26 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:36693 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726116AbeJMS70 (ORCPT ); Sat, 13 Oct 2018 14:59:26 -0400 Received: by mail-qk1-f194.google.com with SMTP id a85-v6so9217352qkg.3 for ; Sat, 13 Oct 2018 04:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t6XY8jAo259QHqFpGkugyhLS2yjq9bXTVFY8Nipgs98=; b=nAzmCR1pDJumPylSoILdDl4qIfZ/pMk/E6icRWRO2nbqjr42couuKgzoco+ZgXwtrE Bx1EZzkVoMA3vARR2nQAFVOdXeIsn4L6iY7FHLC5+OmGf4vNDZ1jHqcNDx5HKbGphx3S s700Ym/WF9AgYMI0TFPQrEcD6DDwy1KyjEwJ5rkG34IaRBnOMjyD5z1/io9N8C2kPaQG hJ4JK3VgWcnfvOdHcEugWVdoumC+7eD6pjd+dcejaViNkP5EeQzcniPLS2Vx2zGW1OAI MJtHNMqhPGNnXbfih+21uxmUo5yyMFwhyGmd7ZwA7q3BNjYbg9mT9+Q5z2RIwFZnMh1C QELw== 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=t6XY8jAo259QHqFpGkugyhLS2yjq9bXTVFY8Nipgs98=; b=jG3g+wJVbK5+5ri/Wot+IrqBZBX7/IkI9fTYV1LPTqLfYUqZVYTjUTp8ommyrXr+Aa sGcLjL12qeeJKc9bTm/pm+o09ixzo9n33kd+GqDwALj2Hn+yxdchBNGYM6FuzjgpX3nk ARzmirQ4vUPv7tnZ1Js/fHXZ0R0ElNb1QX3ZwcuhpElvAcjqhjkZrNtQ1IQvDep0AASm MowhSVW0xnf9ZxGTTdFCDQi+OATd3ZqlS4hhGPqD/woIamqc+p286XycakVUBaAkg8wh DdtWcT4OWk23Sun6EB5tIbuKgCZDL1nAZk8FFiJVcUmkQWGvqK7BW2AkbNMyseJLEHVA 7Ymw== X-Gm-Message-State: ABuFfoh8PJi+PLBBxix1hPu+MaBr22gqdFBEaRiGg4qE6BDPI1Otb+L9 CQKJdPQg5ve5TiXA980X1ahHGA== X-Received: by 2002:a37:f8c:: with SMTP id 12-v6mr9173212qkp.224.1539429761581; Sat, 13 Oct 2018 04:22:41 -0700 (PDT) Received: from localhost (216.49.36.201.res-cmts.bus.ptd.net. [216.49.36.201]) by smtp.gmail.com with ESMTPSA id o185-v6sm2403012qke.34.2018.10.13.04.22.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 04:22:40 -0700 (PDT) Date: Sat, 13 Oct 2018 07:22:38 -0400 From: Johannes Weiner To: Tetsuo Handa Cc: Michal Hocko , linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, guro@fb.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, rientjes@google.com, yang.s@alibaba-inc.com, Andrew Morton , Sergey Senozhatsky , Petr Mladek , Sergey Senozhatsky , Steven Rostedt Subject: Re: [RFC PATCH] memcg, oom: throttle dump_header for memcg ooms without eligible tasks Message-ID: <20181013112238.GA762@cmpxchg.org> References: <000000000000dc48d40577d4a587@google.com> <20181010151135.25766-1-mhocko@kernel.org> <20181012112008.GA27955@cmpxchg.org> <20181012120858.GX5873@dhcp22.suse.cz> <9174f087-3f6f-f0ed-6009-509d4436a47a@i-love.sakura.ne.jp> <20181012124137.GA29330@cmpxchg.org> <0417c888-d74e-b6ae-a8f0-234cbde03d38@i-love.sakura.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 13, 2018 at 08:09:30PM +0900, Tetsuo Handa wrote: > ---------- Michal's patch ---------- > > 73133 lines (5.79MB) of kernel messages per one run > > [root@ccsecurity ~]# time ./a.out > > real 3m44.389s > user 0m0.000s > sys 3m42.334s > > [root@ccsecurity ~]# time ./a.out > > real 3m41.767s > user 0m0.004s > sys 3m39.779s > > ---------- My v2 patch ---------- > > 50 lines (3.40 KB) of kernel messages per one run > > [root@ccsecurity ~]# time ./a.out > > real 0m5.227s > user 0m0.000s > sys 0m4.950s > > [root@ccsecurity ~]# time ./a.out > > real 0m5.249s > user 0m0.000s > sys 0m4.956s Your patch is suppressing information that I want to have and my console can handle, just because your console is slow, even though there is no need to use that console at that log level. NAK to your patch. I think you're looking at this from the wrong angle. A console that takes almost 4 minutes to print 70k lines shouldn't be the baseline for how verbose KERN_INFO is.