Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1349919ybl; Wed, 28 Aug 2019 13:20:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBgW+WNS4m/JIcAW8CETyL0uq2UqeQedqBho3Y3DKzLEvQO+u2ZchUsMiUSdOCvirY+027 X-Received: by 2002:a17:90a:fc90:: with SMTP id ci16mr6153196pjb.48.1567023608399; Wed, 28 Aug 2019 13:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567023608; cv=none; d=google.com; s=arc-20160816; b=j+fYR01H3qeszM0lJ/S2w5lR17WkxukKv6rJBA3/nQprknAJYIYJu0B15q7JZMWdsS TrdQVmOZ92j+qLJXFM+wM/NeRCQFDqV7CF0aYVKXWHllLKr0ZZDVEStyNHdwFYHYNFhM shOfGPyJoE2eSLbGxWlJfZwHtsSTVhzKHG15ZueWblbI7XhnpIrPJTv7D+v74QX9IqRq GbP2hcMfLXHSgzw7v5qffw7xWZL5wlFL+RfOrkd/PuSvhs7JTkmuTEhscanYALHHyhRI KW0HlXgtiJGDFdNzR9YXbRbsaH/S6jvchW5Wtpdwn5x5uJJ2ZkOxu2an6B2Yc/76UfER WAWw== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=XtILyRH8l1LUvlvqjqN9r44tpqWCdmlEVajO5M2YwAs=; b=z9aQBK7Asm0P6WVTPfxA29xtKONnPGGFvYAJ/g9cvAk0B6audHAgzIjIcxb/yfXasL cgcHM7T8ZGoaR2qCiuUva3NezKthLgfinseiUWvyj7JV4Q0ZVu5vI9kFFJkhmvmSVZ7q Ggj3SfKfZxjYLXEjweKde6MHIFX+okc6B0xlpjU1QdjQTvtEHGNJIHGKBuoeYc2YdyCm 2DII3KIT6I19SwRU0tJKb3WXpxVdImAfoI9AHzAvBRHqWJxlZHnZlK4Jc4Q79w+l8JTm 1vwp7aM0TG4LY1kxw/LHps/mXcYAxZEY3Wwo+12IRiUadDLQL12IuF4jsWa9sGebJ8hw shzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=G7R57zwJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3si224394pjr.38.2019.08.28.13.19.52; Wed, 28 Aug 2019 13:20: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=@lca.pw header.s=google header.b=G7R57zwJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726658AbfH1UTA (ORCPT + 99 others); Wed, 28 Aug 2019 16:19:00 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:42607 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbfH1UTA (ORCPT ); Wed, 28 Aug 2019 16:19:00 -0400 Received: by mail-qt1-f194.google.com with SMTP id t12so1034513qtp.9 for ; Wed, 28 Aug 2019 13:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=XtILyRH8l1LUvlvqjqN9r44tpqWCdmlEVajO5M2YwAs=; b=G7R57zwJime+xE+GzBWwJdF//H/oggEzvdCGb3Sm4QSKceQy4xJX36dlajnviEjIGY /Chz/Rqpb5TC9IompxAZv9cado+gjUgTNZfirxP6v5BslLLntwCQow/9oG4Fm/QR98tg W4eaEhkxGKBgQ7AELZ0p4EzBvy4FOsHKiXM1dAnNwNEncsrHwFFx5/DTvDQeEQH+wp/v hOQkrZigJB9531ETS0wPZGkGtmmNhxJxJ0Wd1Aad/xmc9Uzq2ApiBfSRMnR3XDyyBypt rhrVvxGhjNTN40Dpka29XdZu6T6xiCodQVec33YIAyWksfo69xBlStCwi4LJcslcoo4V qJ2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=XtILyRH8l1LUvlvqjqN9r44tpqWCdmlEVajO5M2YwAs=; b=db0ehXTNyoOnkrhE8DRxDnz0qtGU+EtUSYaSk1gjpyET7my3eTDMe0eA8irekJWUsL uHkOPUSspHTpffahLyk6NUTBvaMxyhA3hllr0kjOKUmGbOp54tbdUlbk+Fj+ZKUeQhH0 ZyPrHsvWJNrQKg4QX40woWBTeB6milSclF26GIk7j65p31L8IQyMWOIsdvHv78Mxwbx2 9En0LdHAjXY5r42o4BD0oYP/QtwmApxKRRgkUu9f+6NmxybgBHcBTBkr5VvwVwycJqBc BYUQcUzuK8qlrvFnywFQuOldPwiN/Orwrys8pbqYHOowIqAZImPBfKhopLE7gYKhr8o2 wykA== X-Gm-Message-State: APjAAAUiBM/VbyKWK6YTcMWD50/Fwgbhujo/tCvkKTgG9F5DESP4016Z zvVSGA2QFCImICxKGOUr5I8ynFVh9RI= X-Received: by 2002:ac8:1241:: with SMTP id g1mr6305448qtj.145.1567023539198; Wed, 28 Aug 2019 13:18:59 -0700 (PDT) Received: from dhcp-41-57.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id n62sm91932qkd.124.2019.08.28.13.18.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Aug 2019 13:18:58 -0700 (PDT) Message-ID: <1567023536.5576.19.camel@lca.pw> Subject: Re: [PATCH 00/10] OOM Debug print selection and additional information From: Qian Cai To: Edward Chron , Michal Hocko Cc: Andrew Morton , Roman Gushchin , Johannes Weiner , David Rientjes , Tetsuo Handa , Shakeel Butt , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Ivan Delalande Date: Wed, 28 Aug 2019 16:18:56 -0400 In-Reply-To: References: <20190826193638.6638-1-echron@arista.com> <20190827071523.GR7538@dhcp22.suse.cz> <20190828065955.GB7386@dhcp22.suse.cz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-10.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-08-28 at 12:46 -0700, Edward Chron wrote: > But with the caveat that running a eBPF script that it isn't standard Linux > operating procedure, at this point in time any way will not be well > received in the data center. Can't you get your eBPF scripts into the BCC project? As far I can tell, the BCC has been included in several distros already, and then it will become a part of standard linux toolkits. > > Our belief is if you really think eBPF is the preferred mechanism > then move OOM reporting to an eBPF.  > I mentioned this before but I will reiterate this here. On the other hand, it seems many people are happy with the simple kernel OOM report we have here. Not saying the current situation is perfect. On the top of that, some people are using kdump, and some people have resource monitoring to warn about potential memory overcommits before OOM kicks in etc.