Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3737448ybz; Mon, 4 May 2020 08:47:40 -0700 (PDT) X-Google-Smtp-Source: APiQypJAo6EcGp3TuTna6t2drggjEhXuf+W6BxaJ2yzCgaF9mRi2GNEPV825l6QWqURXYlNtpOhp X-Received: by 2002:aa7:d0d6:: with SMTP id u22mr15716194edo.262.1588607260688; Mon, 04 May 2020 08:47:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588607260; cv=none; d=google.com; s=arc-20160816; b=wOyB1vaB1tbuI9h/w1q0nJePeJDUs3uibcovUakLi22AlTdoeUGCSy525JXj4keaGM DuQlzRWHZ70sV3D1265keq0V1JOpKJo4wXgZl/nbtDH4juhl0G11W3VioQnmW2n5sEl0 QaGYqoHlmLsap+Lem4g/jxypkGp/iKIsjfCYkhZW6kPX8k9nn7cp5I3ud7hEF5ISw9IP sicp+vp3PjWUA7PRrg4s/Po2jDGvuBVtD0O6F2ms9o5VPM5z/THlmdqjInunLGUOtRpp aM1LWM3DIA91LA9NmlQXCRHCpJltb11qoLLl+KeyJ7jdRX2Rk+czlOp2rqY76qPG5FxV vcKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=9dTgGgk4WJo8HVt8yECnJvw2IGeWq0dSsmzENEJFEq0=; b=hrht/Sue39gCSqfircUO+aaNrG+RvBscRDcYMCMFRszK70qa4ZLZs6Sd5XCnYvkirI qo+9JcCBaXJ/39c2idfQREvopE8MhaL+D4outtG9ZjvL/a8hXrTbVH0fqF8ySKxccoMH 0prcM+bezmYL5/3oGQAKQDshnWXcX9UjJVLIfp71gOzXwaXEUgwm0ts/AcvQ0l2yu7rg C/VCNj8iAsAHFhzOxDTB4STCS0nr+6qCoGTbwGrN6gqX+qMNQEAzWO9LmcDxd82D3vYH j73m9sQ7HSNKhnoq9/J+yy0/jwf2/NpHm1PMdNVk+dnUxPXHtlVVmnoYRjDvmEg4fyPT P/pQ== ARC-Authentication-Results: i=1; mx.google.com; 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 gl24si7297267ejb.27.2020.05.04.08.47.10; Mon, 04 May 2020 08:47:40 -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; 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 S1729048AbgEDPoX (ORCPT + 99 others); Mon, 4 May 2020 11:44:23 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:50870 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726509AbgEDPoX (ORCPT ); Mon, 4 May 2020 11:44:23 -0400 Received: from fsav107.sakura.ne.jp (fsav107.sakura.ne.jp [27.133.134.234]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 044Fi1hv055060; Tue, 5 May 2020 00:44:01 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav107.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp); Tue, 05 May 2020 00:44:01 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 044Fi0RI055015 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 May 2020 00:44:01 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: [PATCH] memcg: oom: ignore oom warnings from memory.max To: Shakeel Butt Cc: Michal Hocko , Johannes Weiner , Roman Gushchin , Greg Thelen , Andrew Morton , Linux MM , Cgroups , LKML References: <20200430182712.237526-1-shakeelb@google.com> <20200504065600.GA22838@dhcp22.suse.cz> <939b6744-6556-2733-b83e-bf14e848dabd@I-love.SAKURA.ne.jp> From: Tetsuo Handa Message-ID: <3c24ef6a-f1f4-38e6-2d0f-1eac18dc15bb@i-love.sakura.ne.jp> Date: Tue, 5 May 2020 00:44:00 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/05/04 23:57, Shakeel Butt wrote: > On Mon, May 4, 2020 at 7:20 AM Tetsuo Handa > wrote: >> >> On 2020/05/04 22:54, Shakeel Butt wrote: >>> It may not be a problem for an individual or small scale deployment >>> but when "sweep before tear down" is the part of the workflow for >>> thousands of machines cycling through hundreds of thousands of cgroups >>> then we can potentially flood the logs with not useful dumps and may >>> hide (or overflow) any useful information in the logs. >> >> I'm proposing a patch which allows configuring which OOM-related messages >> should be sent to consoles at >> https://lkml.kernel.org/r/20200424024239.63607-1-penguin-kernel@I-love.SAKURA.ne.jp . >> Will that approach help you? > >>From what I understand, that patch is specifically for controlling > messages to consoles. The messages will still be in logs, right? > Right. If you want to control which OOM-related messages should be sent to syslog, we could use similar approach.