Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3895147ybz; Mon, 4 May 2020 11:41:18 -0700 (PDT) X-Google-Smtp-Source: APiQypIhsVAbd81UGKbSZH+DipgAYc7t0tYd3oHP9qOmgIonlCmtkCgmGYc2+RWUEO112kPDsBTS X-Received: by 2002:a17:906:3787:: with SMTP id n7mr16445631ejc.200.1588617678088; Mon, 04 May 2020 11:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588617678; cv=none; d=google.com; s=arc-20160816; b=jiKUR8iFCL8Ey5Djiefa1b8Igi3r8ztASb/Zrkip6flg17aB3QiQ8BRcm6GWM02/0o QPpREyQjsP1649WDrKIujQXEhMobI2hwSws4GotS6/20kWjKyYhogOWzBG4zI+l7+zlF u/G2r8V9JYkxV4Qgz8KPFH/u0ySraeXkPRgb4NYBYmMiEu7Gf4SzBFseLXufezOrp2BJ pc2Nph1J63UjtVQEeEmjNfX8iCmGXKH2fkmCUnZbo10qwagHWVS3YN3k9GCa8cK8g2H2 rypf/ACR6AjHJU8ut9X+ZlNf9M3uhd8EOB2Yx8f1uamrNrdZj6CU/jxGE4XXLZZH1s0s I6yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=KXTeEx6IisqAOCmfPVwDlnFlnDkJiSAj9MRHccmyI/s=; b=qcX1G4lkUlGtmzpHBmaJczWBusFvRzY7rgFdwn72UP4iDoUUvBO6k4aKDtoBWQCq0S eE86ha+eG8umMfCu2O1BUaeyvAiiXhxLg3kmU8ecxErrczqDiHKuqXvScfvb086RltBW zqhTy1fHUybqaoOIhvi+Yht+v0OFwjzv1ZfVMNB/W8XUaHO5MnpLjSaENXWSY4gQzXDc +vtytAFXw7j73ZS1UuCDRgWQgA4pAmhXSfpUc7Nu5NDDGAuAx/rDE0mjPqizdPIbLxgr InBcEa/zRbuLySG6qq7S8SMy/c0PMlAfOdffkGb7L8Eo0ktjuoBVmJ9UjSAVlWmuw6mH BJsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=f1O7lCLc; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si7552251eja.57.2020.05.04.11.40.54; Mon, 04 May 2020 11:41:18 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=f1O7lCLc; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728689AbgEDO5U (ORCPT + 99 others); Mon, 4 May 2020 10:57:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgEDO5T (ORCPT ); Mon, 4 May 2020 10:57:19 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F949C061A0F for ; Mon, 4 May 2020 07:57:19 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id b24so10017813lfp.7 for ; Mon, 04 May 2020 07:57:19 -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=jtENcCYts57DnKllh0XPcT4/4C9zv2ZUTE0/79EZOoHV0uDPVSaCtvPyc+LYexODCu LdrSR8b1H/MuN47scV3wCKikrdCuX9Up59vtdfmyPnuBH1OGtqae2xL4OfdLXIQ3vMRi vpR69Sq93NFB3DRWJeF82UnlpiOSuWhgwhtJ3D1jXYHL2V1eFtiesNUx/YtbFv0VQKOB ViWuf0Ku4XW64fL/OzsA3qfGWypVnt0EKPvIWi9Obew53C3dnB1jYWyTJhuDIlD6SWoW 2K/weS9pWYjIlNCMt/90OHPl6Mv8pJABIeWV0r3dP9bna9e5VfwgniRd6zhsI6RErhCc fLww== X-Gm-Message-State: AGi0PuaI8ZfgE/R3sLHtFI7gLMQJ1wr8nruZUMQo+wUPdO3oRs6PcAsN XKCer9gHLPilJmEzYSfCheCLERpEXY19zRzxucsyBg== 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" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?