Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3661150ybz; Mon, 4 May 2020 07:22:27 -0700 (PDT) X-Google-Smtp-Source: APiQypKDnLS0ZbPjWB3DxMXTroEXIJHqv47QBHRJtstqV+YLnrEipi9yg0/Mg0HnqYQPWXc1nFGR X-Received: by 2002:a17:906:7750:: with SMTP id o16mr15194154ejn.12.1588602146836; Mon, 04 May 2020 07:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588602146; cv=none; d=google.com; s=arc-20160816; b=IKggOurJd0McipFmaO7A5fGkBtnhy3sattBWN6P5PieVTKo9iW3mVxRRrKzrDE6vsg IPraeu10xfX5O+emjFxd5PShqAdVAClNDV5+AiiOEc4EbuSoOoeGrEohcbFC+0rsL8uq hrYTwxMkfZ7lmC6m+aruOhima+TsVoeOhZL/F/vWKtKllCwoMqRt0yli9PaSve6tSsfA cC3wTk6W5go7487ovO8g3srawTnhlaf3VhZ2jwayC0cXySNLum/L/PhA1f30UcN5msht OGNTlrzQiSfv6modLmGOO8sElNJP+igIO0iwU+H27Zsix1wPV7+MEHsNcis5C1xKdvcr SCkA== 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=SlRJCE9O/JZJ3ie7tMvBSu+HUVyLBXBHy66Rt5Sx+K0=; b=pZMIBBkIN/7xw+7c1N18An03Gzdo4X3T3Z/byfxAOcap53C4bkrHeSkDaza0uKAzJy OnOmBuJmwF1gzMpNW7AhWNGnQ46a/w8gF+In7TOf1mAovEGo41zUpfFk9R56QpGPlJ+g pUZp8/Afp3U+OU8OET9eOin1ao+e9In1XG0D7cGMU2Vp+IdijvqKjJm3GIIK3Wl0y3HO VPpn6OXhsfhbMJzT8laFe+u2/EnQmc7FisLxJiDLG/o6+aIN/iA903afgOjaOjPP55r+ CyEJ/7HPeK3/WYfuGyjZbJ3bVCSz12lNYq1V7+n14U/gE8nc4XPz+LgkAxM/eDKWiZkT qhJA== 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 c91si6485963edd.163.2020.05.04.07.22.03; Mon, 04 May 2020 07:22:26 -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 S1728498AbgEDOUf (ORCPT + 99 others); Mon, 4 May 2020 10:20:35 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:59013 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726922AbgEDOUf (ORCPT ); Mon, 4 May 2020 10:20:35 -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 044EKFKP077229; Mon, 4 May 2020 23:20:15 +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); Mon, 04 May 2020 23:20:15 +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 044EK5QJ077039 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 May 2020 23:20:15 +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> From: Tetsuo Handa Message-ID: <939b6744-6556-2733-b83e-bf14e848dabd@I-love.SAKURA.ne.jp> Date: Mon, 4 May 2020 23:20:05 +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 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?