From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FDEAC3A5A9 for ; Mon, 4 May 2020 14:57:20 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6078E206B9 for ; Mon, 4 May 2020 14:57:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="f1O7lCLc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6078E206B9 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E48B48E002A; Mon, 4 May 2020 10:57:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DD1528E0024; Mon, 4 May 2020 10:57:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C994C8E002A; Mon, 4 May 2020 10:57:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0145.hostedemail.com [216.40.44.145]) by kanga.kvack.org (Postfix) with ESMTP id AD98C8E0024 for ; Mon, 4 May 2020 10:57:19 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 4FAE018F7D for ; Mon, 4 May 2020 14:57:19 +0000 (UTC) X-FDA: 76779339798.19.slip49_22c5fc039404c X-HE-Tag: slip49_22c5fc039404c X-Filterd-Recvd-Size: 3841 Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by imf05.hostedemail.com (Postfix) with ESMTP for ; Mon, 4 May 2020 14:57:18 +0000 (UTC) Received: by mail-lf1-f66.google.com with SMTP id h26so7042529lfg.6 for ; Mon, 04 May 2020 07:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KXTeEx6IisqAOCmfPVwDlnFlnDkJiSAj9MRHccmyI/s=; b=f1O7lCLc9F+EoW79NTRjesPk5eQ7p4Q7MnxAp+szu+ekyG67HHuZaHvrobdUzOqBlb yxPAcF6Rs6WCFXCs4xqx5LEJ4GGkKVujqbgVq9W4LCfPYWNecwVz+m0SBfRVrXYINYKo yLmS5ygJkWMdj3uUMxFXDwwSobIvM4pzAw1+2UFB5+XOnVwN0y9pLSOq4yTLfyX4xxav 1BzzHnHZ096oMNL+SaMPBB0D7qGRTnxD13SNoNHNIILeSzitLEO2SFfMC1sVuuY8RJT+ UZ58sL0B1Mzmxy6NSJbmzTax5111MpmwldblyZhlWiaGY/fMAkXVTB5bSCMQ4i9oDf3B nGPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KXTeEx6IisqAOCmfPVwDlnFlnDkJiSAj9MRHccmyI/s=; b=A2Jrll3Lsskixkcxe9/OVTFtuZuxIfJ11Y3exzacAOQIL9T04jj1s7H4qbzqCPgFQp h1f4SYNy8kHctvx0D65MrieHjZRQj3VfmuaIfGbQ3GLdg5dtLBBZmIJ8gLJy5WlNIcOa RpShQNpJ3IuaCwwEFdkOIc2Fx6wNwGBphCan+UjpYoire+kxPaeioLIfBJSmHJjhYXAM YHQA240OC6Qmghk1efpfj0s3ZBy/c+bx/1GU9Ye4flUWmqY2EBrC7k7D3qKtn9HYRHFE MnSc3waCl1az97RbY28mpOn3N3R7jahYU731FHtntPAcc/Xdwcffyckfi1WBFNNcX9L8 ox9Q== X-Gm-Message-State: AGi0PuYbcdtDd7wZr5TfVav1HE1u7JPebivL5wYtQPoku9vdRGJXWmxG 4KmnuvhZUnuZ64r5rMpDvbVs71JMZWWSiZfuuyCbhg== X-Google-Smtp-Source: APiQypLeWlS/2tJFxpoWroiqoFWA9TyTM5cYPxWBjGApMajaaMz7gQOa5MU4ttHNy7FkO2WJK1Rul1KNGmjOa5S7i08= X-Received: by 2002:ac2:4466:: with SMTP id y6mr12025645lfl.125.1588604237015; Mon, 04 May 2020 07:57:17 -0700 (PDT) MIME-Version: 1.0 References: <20200430182712.237526-1-shakeelb@google.com> <20200504065600.GA22838@dhcp22.suse.cz> <939b6744-6556-2733-b83e-bf14e848dabd@I-love.SAKURA.ne.jp> In-Reply-To: <939b6744-6556-2733-b83e-bf14e848dabd@I-love.SAKURA.ne.jp> From: Shakeel Butt Date: Mon, 4 May 2020 07:57:05 -0700 Message-ID: Subject: Re: [PATCH] memcg: oom: ignore oom warnings from memory.max To: Tetsuo Handa Cc: Michal Hocko , Johannes Weiner , Roman Gushchin , Greg Thelen , Andrew Morton , Linux MM , Cgroups , LKML Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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?