Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1129064ybe; Wed, 4 Sep 2019 13:07:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxU/7Nnucue61PkqixbiqQv6O6tXkLEct6dAm8zrh+5ZPB5fsPJZUBUi0qpErjBfZ8PjqG8 X-Received: by 2002:a63:7e17:: with SMTP id z23mr36788386pgc.14.1567627628859; Wed, 04 Sep 2019 13:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567627628; cv=none; d=google.com; s=arc-20160816; b=K63pXO2I2yPPCSFEKf92yhyy1GjVtUBW1Ox17lkK9dmiq7kI74BsIgv+7lALTZyai6 kKx6OlP0UV/Qgc/Qq6uXGoytRII5ppE+1lmqZkndjVeR1egFVprHE7C20DAbeeKnMZSF vua0UDPTlXFC+hTzR28rWhwqnyUT+Y0Gtwh7sQejFBX6ga6DMyCbE/s8V0dVR3kvG4eK ZMFUxRW30AkyJ1irmfxYDsY55hsFOVBOmJlt8FZyXY5nncI8Hahq9ZVorHiBYKb8xNnb 1YP1O6LcuzrcwVXF4YhwXxAdpBjDOozur19woISHltPUh5c0JIfKnH9SKWGntF6nugNB DFGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=vUq6q5rLq1rpkR2Aq011wdvO0ya+rjWQxpONqV3eZoc=; b=TRm5VNaTwQK1naTv6nbvsaON0uNPL59Tg2s7Ln+RPHnTSTkJQh0mK0rKTd+PBvkhPm YhmIVT8QFYOcMweBC2up2FgNtJ/yhypIl8CPrpRixmUS64HpK0nfggAWH8KBbQeB1LlG AY2NbJsNSCZVsaPP89yErMfrlBHti8zB9uXip6CBmOZ+2teeDmNPnmMHRIWhPAsxF0VG jT7w2m1JayHh213FH6ec5vfyHVBY8l3IBcfy9uxhHs2ph02gyfqSmGi17Se60v7BuqR0 RLxcK/LcCPggB/14cc0wOKnVwAnWW5JHtF/7kKjKKn9w7CmHlqo++qQ+22dx4vbIlyib eUIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=r2Y7xKaR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18si17405436pgv.494.2019.09.04.13.06.52; Wed, 04 Sep 2019 13:07:08 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=r2Y7xKaR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730156AbfIDUEI (ORCPT + 99 others); Wed, 4 Sep 2019 16:04:08 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42461 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727809AbfIDUEH (ORCPT ); Wed, 4 Sep 2019 16:04:07 -0400 Received: by mail-pf1-f195.google.com with SMTP id w22so5543420pfi.9 for ; Wed, 04 Sep 2019 13:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=vUq6q5rLq1rpkR2Aq011wdvO0ya+rjWQxpONqV3eZoc=; b=r2Y7xKaRnaJsuxJ7d1X1sjgGndZKPqGSY4mHbfjimxEe/js2y0q5xwh5Ofo9PObnOH jFpmg3gyfWrbsH37smwNTwt5mtQ7zZl4z1sWxsqmUyy5Mhvg3nE1P2qr78dtqaf+aBQj cODk1OIu/HjuyGk/UREUeGXrMX/xOWcIvnAfoHJqX4x+wvkaPVeiOfqtjlNupPrMiCxb jOyVP6fHwuS49HdTbhlntrWEDX+6trfxMOhCtErqNnkgNLk8eC/Rsa7iP/dAiUfhR6OI YBgVwSjUP+XApsFL96rAT6NYMu7YH6hZXFSpuhRHm3viz0Gbre8xPWQE4PNP1rXjMxmY A7HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=vUq6q5rLq1rpkR2Aq011wdvO0ya+rjWQxpONqV3eZoc=; b=tSZNn9N89GHvz8ao3ZRsvy5CmL2Dm5kORTqGUNOzq6KVubsnQFW1DoEWnZpQlwbCet M4JPR+yTmZzGS67UH8zJ232XcACSJVEvIRcA3dlniDDueg2uNNFkmJb5SeJ5AG/EK4dQ Jh0GqKDXpMShF6PYgU8aopZEL3cLE1kPUzHgFRcv4PCxtoCOd7/BEwiLHjP6FdLMOcGk Rlv8Kv1z1lJc76cqY82UfHlBi4PaYv+3RP67qKL0Kf8X9cn3ueJvT/W9j8n/TytMd5U+ fOOeORyHSSyiGEkU5qRnbnUSIzA6el0IupZzOzKC4nvxXme4C6csbzigesLn5DNEkCgE /3yg== X-Gm-Message-State: APjAAAWWYupXfagGWf/4oGMAgUELU0qAI7HwjnVrn00NW6vb7f/xQptr DvZYtOsE0ThoOIgbSCGuoK7mbA== X-Received: by 2002:a63:2a41:: with SMTP id q62mr36843166pgq.444.1567627446279; Wed, 04 Sep 2019 13:04:06 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id m19sm3043700pjv.9.2019.09.04.13.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 13:04:05 -0700 (PDT) Date: Wed, 4 Sep 2019 13:04:04 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Michal Hocko cc: Tetsuo Handa , linux-mm@kvack.org, Andrew Morton , LKML Subject: Re: [RFC PATCH] mm, oom: disable dump_tasks by default In-Reply-To: <20190904054004.GA3838@dhcp22.suse.cz> Message-ID: References: <20190903144512.9374-1-mhocko@kernel.org> <20190904054004.GA3838@dhcp22.suse.cz> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Sep 2019, Michal Hocko wrote: > > > It's primary purpose is > > > to help analyse oom victim selection decision. > > > > I disagree, for I use the process list for understanding what / how many > > processes are consuming what kind of memory (without crashing the system) > > for anomaly detection purpose. Although we can't dump memory consumed by > > e.g. file descriptors, disabling dump_tasks() loose that clue, and is > > problematic for me. > > Does anything really prevent you from enabling this by sysctl though? Or > do you claim that this is a general usage pattern and therefore the > default change is not acceptable or do you want a changelog to be > updated? > I think the motivation is that users don't want to need to reproduce an oom kill to figure out why: they want to be able to figure out which process had higher than normal memory usage. If oom is the normal case then they ceratinly have the ability to disable it by disabling the sysctl, but that seems like something better to opt-out of rather than need to opt-in to and reproduce.