Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1407433ybl; Wed, 28 Aug 2019 14:18:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyf/hkNsLTJojN1fYqvIS19jauliEnr/7W/L7UimBsrq3/gpBVXnkgqN5ww5cfjE3uz8RIf X-Received: by 2002:a17:902:1e8:: with SMTP id b95mr6450754plb.28.1567027123836; Wed, 28 Aug 2019 14:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567027123; cv=none; d=google.com; s=arc-20160816; b=JOkfUcHTVQ/atFU7HE4VM84R8JnZF1d+0+y6ueTKsuTZwH3iiIsvPbiXvCx5otcZGM bkKwlniTAdiBkq+OxdRgxNa31eMu0NXF6ilfzQ3B/KSM/kiKYie+Ke+GXvFGXhxI/Ubn IhBcn4gPCBj7YYGy83jTLlDvcrOB2oz18ooWXDEYAscbRTdCQRL+n65Tj+7r57v8Moww nYepw9Ki7fGHR7zgazawYOSIWyFeAKdiG528Ii9MpThcthnWF+3CEQ/eZw5E/MIeFzZZ o1uqzENpCMtevgiD+ZJRbyG0KFCdKzBR7KzG5SHNzHhAcAnZl9QnP30KjePL6wWwAkPn tWDA== 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=1Pid6vUuPUlJYXQ1gshe5GaMyymzgf1ptZw4JML3tNQ=; b=nM7jhaovhT0P5hqt2v33z7DCe/RSm5qDQ8xU3ljqw/Cbv/V8/0fayQa2+e3OzbA/aw k7u+FNQpN5o9HJ3zCkyu/m4pfVZsaFc8ag+Wh9WZVLajzSNM5vNZAWNHgpVTAXWtwOkA iidHtUJEz2xk6SAxhS948DHCmdngFL4xuoBXiGh8AfAvSnGzrBDwYzdzPMi5UZdBM5h7 wl7cqZyThnZ7Wmj5jgPAnFMoU8zSwh47BxU7xA/mYBxKNhp/jY+NOE87bf5h09xvwZNh h9L8iFDmDerRTSjlLAdDAEZuuxnCY23F3ZYbMZNVnqX/I89amXpGXkLTc8NA0hHeYGyE BjKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arista.com header.s=googlenew header.b=WseL6QFZ; 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=QUARANTINE sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si78689pll.340.2019.08.28.14.18.26; Wed, 28 Aug 2019 14:18:43 -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=@arista.com header.s=googlenew header.b=WseL6QFZ; 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=QUARANTINE sp=REJECT dis=NONE) header.from=arista.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbfH1VR2 (ORCPT + 99 others); Wed, 28 Aug 2019 17:17:28 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:45240 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbfH1VR1 (ORCPT ); Wed, 28 Aug 2019 17:17:27 -0400 Received: by mail-io1-f65.google.com with SMTP id t3so2414100ioj.12 for ; Wed, 28 Aug 2019 14:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=googlenew; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1Pid6vUuPUlJYXQ1gshe5GaMyymzgf1ptZw4JML3tNQ=; b=WseL6QFZVj5hjD4LSdeRDxgvi8R9OrWhijXgU4dVjGt1oetpvN2AyHUnm4zOKs8iqo at1k51orF9049/Ghe2jeEBeJmxckts5NjcvtT1cIG0yaAyYZEWumEgVeU71owQJjSuxV r+v1ZAVuEBOBRavO0JllTktHLYLN4aNtNFMaWm8dNulMO+VvauX+Kt+HVLPbDYhqEJlM 1rW9s6pu2jiJxHyNKaOscZh63d6ouPB5aoh6Er2aGItp9wCPJ77A40bdtwAeyOjCFpKx LIeuQHiz5et647Kxo1j7BqaWjOzdldFmGfxT/0+FE94fDgJoz8xj/x1zdQGnq12nGCTB hjoQ== 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=1Pid6vUuPUlJYXQ1gshe5GaMyymzgf1ptZw4JML3tNQ=; b=peYPLQ3a/JOt+9ctXGvF2FONNEKPSDmUcwJSHr2LFGAV1vCnx+ksfsaPSvhp22QkiY Ke99NSzBYn9BikERaBm+8+EebyVB4e65PJLLbZK81ye3Yv6jAPRGckfQeLEXKs4KE79A ehRDFFncicPnj6MZ6UH01Pp+lIG3G/jIqAY+vkJiswalduUFQ6ni0BJqOZZNDTf8ihud crzkBR7Y9yRNtFA6q4e8WFlf2N60vqHM2NZnQOQObeDmAMcHtn0EI+3fy00JX4rTreYS /hl3JFeZ1hJJE4X0gNvT54egASJro3XX/PMDqPrChbBsbdWUb4fRH43koMTeVqgjDicb 7bSQ== X-Gm-Message-State: APjAAAU0wnDoTnbHtpTe4OzjSL9SxPmGwjEkJy9VX9FD0uMYLD/RBTfL Mv8FGaHykR8snv3L2jSnp0DhRTJmIts6vaw7A3gIww== X-Received: by 2002:a6b:3ed4:: with SMTP id l203mr6931699ioa.275.1567027046855; Wed, 28 Aug 2019 14:17:26 -0700 (PDT) MIME-Version: 1.0 References: <20190826193638.6638-1-echron@arista.com> <20190827071523.GR7538@dhcp22.suse.cz> <20190828065955.GB7386@dhcp22.suse.cz> <1567023536.5576.19.camel@lca.pw> In-Reply-To: <1567023536.5576.19.camel@lca.pw> From: Edward Chron Date: Wed, 28 Aug 2019 14:17:14 -0700 Message-ID: Subject: Re: [PATCH 00/10] OOM Debug print selection and additional information To: Qian Cai Cc: Michal Hocko , Andrew Morton , Roman Gushchin , Johannes Weiner , David Rientjes , Tetsuo Handa , Shakeel Butt , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Ivan Delalande 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 Wed, Aug 28, 2019 at 1:18 PM Qian Cai wrote: > > 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. Assuming you can implement your existing report in eBPF then those who like the current output would still get the current output. Same with the patches we sent upstream, nothing in the report changes by default. So no problems for those who are happy, they'll still be happy.