Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1035872ybe; Thu, 5 Sep 2019 09:21:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaVrp3qH6m4JJtGcAAgiO1OGT0EdLpDQBk5l9KPZT/+9c2wvnJHpxy3dAzKtu5OHiKWEy/ X-Received: by 2002:a17:90a:cf8d:: with SMTP id i13mr4756944pju.63.1567700462747; Thu, 05 Sep 2019 09:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567700462; cv=none; d=google.com; s=arc-20160816; b=wZE5XAu54etZ8tR14MF9/Zmz4L50PS9NWWyla6WPqFClltHrM+hSRK45KNqnn+8qtY IaQb5b27ASXoc1cyNyUgffTbYDxdfvtjd0fCuBNsLJq4CPvd3NGnMWCsCki8qEDak4r8 NBIL/RUAA+wsiskmWTbbKPdmZMvIxhajYHMsRpB1n2icGmNbRy5zd4LWGjDYe+/u4xs3 BE3MUsdYZxJfgqOpcg2i6JkE0fUpXvY8za0Y2hyTzetuZiye9d7JH7/7qDD8+BVjeHm3 +FEKHA0XX1REOkAyd4YqFeKK2aLB9QzQhQ07BxzxsOTjC9G9pGmv0oP1ickCfF4JbiiI g6Mw== 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; bh=E4FlMS//jAJbBkMIbR+Iyze+aP2bGSteANwzIio9z6g=; b=yD+q2FOaf82MpG/c7yzVaQOTEDIaaJimf0RZzSY7egOtz7OLEKVRkkWQT6sXCr4ovl km2ve7M7kLaFfyc6UDlNO9L1cjo2iq6vdHnxqlXSjKBqTVSowZQKQ6uiQx+G9vXoq8Ni W88A27zRnnPRazZMGHwWvTHbK9MHRSj5aj/JhhQ33hq9gBcTTZ73GPVhJ6usAKX/zqCf pWig0Y70dxSHG3aWB/Zpgyv/68oa+0SL8Ra7lRF1DLgF6r8o3nAHVyaX7/kVSAefQAKI C3BaRAdllK4efFZaqzxDU/9E3V2ownNcIEGnnxqWqlZFYZPJ8LsQmMr9V6N8FJrzXXeB WNLQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o131si2131621pgo.445.2019.09.05.09.20.46; Thu, 05 Sep 2019 09:21:02 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727521AbfIEOIe (ORCPT + 99 others); Thu, 5 Sep 2019 10:08:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:40136 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727053AbfIEOIe (ORCPT ); Thu, 5 Sep 2019 10:08:34 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3F3F5AD07; Thu, 5 Sep 2019 14:08:33 +0000 (UTC) Date: Thu, 5 Sep 2019 16:08:33 +0200 From: Michal Hocko To: Tetsuo Handa Cc: David Rientjes , linux-mm@kvack.org, Andrew Morton , LKML Subject: Re: [RFC PATCH] mm, oom: disable dump_tasks by default Message-ID: <20190905140833.GB3838@dhcp22.suse.cz> References: <20190903144512.9374-1-mhocko@kernel.org> <20190904054004.GA3838@dhcp22.suse.cz> <12bcade2-4190-5e5e-35c6-7a04485d74b9@i-love.sakura.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12bcade2-4190-5e5e-35c6-7a04485d74b9@i-love.sakura.ne.jp> 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 Thu 05-09-19 22:39:47, Tetsuo Handa wrote: [...] > There is nothing that prevents users from enabling oom_dump_tasks by sysctl. > But that requires a solution for OOM stalling problem. You can hardly remove stalling if you are not reducing the amount of output or get it into a different context. Whether the later is reasonable is another question but you are essentially losing "at the OOM event state". > Since I know how > difficult to avoid problems caused by printk() flooding, I insist that > we need "mm,oom: Defer dump_tasks() output." patch. insisting is not a way to cooperate. -- Michal Hocko SUSE Labs