Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1473928imd; Thu, 1 Nov 2018 16:36:31 -0700 (PDT) X-Google-Smtp-Source: AJdET5cqyJCWsSJOWPFvPyZgoCEmPzmr7QRnmCaRoeROtNiQJ+LHta3V4ukpa4+TQRFnyC6ZEfVW X-Received: by 2002:a17:902:16a4:: with SMTP id h33-v6mr9372083plh.141.1541115391471; Thu, 01 Nov 2018 16:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541115391; cv=none; d=google.com; s=arc-20160816; b=UrpIZmnqE5J58vYA+5aOOF8rZQuGH81DR9ESD1qMlcdsECbrFmoQux6AE06OP86yed nFPYGjV1reOxctmEdbsdmJsxIq6mPf8ih3o2auqovKK/b8AkLphJDAdih4yziycwpDrr lbOie2XU2OA2cuzoBu0mg/+GFE5wjQXd8ocw5vE4l/crCQ0fw9KYhOFRGJFQLKb1sIGZ FUV+82dbiGjd5A3AKPt4pQs08i3BHG24Ld0k1vSeCXTCE/tKc11XA1yKrQLkNFr1DVVS Gw6hyKEn4a4+i8A9vs+3It9BqvI/Cwjw2ZIDadZbmadVwb7L80qi3E9ilCpK19OtDWry iw+w== 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=HCsOkoK9O1mFqWcI9m6G2BHQPpgSD/MSas0vVvPAEL0=; b=0RUXdpFG8kfFkyGILYnocpfyzkpd2qE6mkLC5EIwz25Wllz/prHmt72lkw1/cnNG9X qpGt+YZT/rTZAmIBRhsRMkN7vaf050bOfAVNUq5tyZ8QQb9fj6krn50e+lMci6rMwM9s CSRVyxnisfcC3RNqAvQ0RcBLlaCoyWWvANdUhWCteM6rhMBZAAkhvvBPPDj/3+I+lOLO 5YujPuLpwXhOKWbhkdKROFSP7nQDh+y6u6WznTvJPQXg8k+ea0wUfZPKd67QfORlGc5h fFKRAWrFPsi6y5KvvJIe5hkObHiV/w2wVNGDE+YpIbUkIBH1ZMsCsqEiuaXWNutit9/u Fw1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tNvAvqYF; 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 t191si9998754pgd.579.2018.11.01.16.36.15; Thu, 01 Nov 2018 16:36:31 -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=tNvAvqYF; 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 S1728390AbeKBIjD (ORCPT + 99 others); Fri, 2 Nov 2018 04:39:03 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45581 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728134AbeKBIjD (ORCPT ); Fri, 2 Nov 2018 04:39:03 -0400 Received: by mail-qk1-f194.google.com with SMTP id d135so272564qkc.12 for ; Thu, 01 Nov 2018 16:33:59 -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=HCsOkoK9O1mFqWcI9m6G2BHQPpgSD/MSas0vVvPAEL0=; b=tNvAvqYFFkAUQWQ2jC3PuyXWoUDFFNsPYwF18tP6uT8vt/udSAwpJWspX20YjCU5dg kat++mAirNzZvNBknEDZ1/lcZdGt+y+xiRbzstioEry+q7hLDuqzMhcOS9szsczk/x3n o3j2cHCYXhzDX77NolKe5fqIG0BWl/dPuRrWqZinZ9Bsxo+2U4z4TlIdc7qm3wf1MWxO uKQRnh9tUzgz5VlNIoC5nCNI03jPASSbxGu2IiHp8i5QN/gPLcEDzFpVKfekZd2rP6oy gaCLJy9Rsap+Qp5SSC2O6LHWVeggP5VOwfTfH6AH2gmbas0RG7U2SVanI5M3QDchBqgB C3gA== 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=HCsOkoK9O1mFqWcI9m6G2BHQPpgSD/MSas0vVvPAEL0=; b=ppadvjlpUNqaQx4dlUBrY1i13d6zaWj4anNpJAjMyizMO2KEQT4ZRXr+4PPQBbtlSF f5hiCqogRf1B4uf51LxsEklzkBmWnDkNZaTSgdiyATXj6aMsF3aAjlmefNTDbaMJcDol /43qbZX8ZBnP6tbqZOQMxbksgjKkxnYV40gjmrqvN1gRgeCF8tHPUKYoI+NOodpna/J3 KDObKUuOVDCQQajkYijJQfHVXvtgi7L8HnDDlfmsevgMfdG+JODxQWqLxgdVsWTesNmt +aOfhNrkmYTyfLJ4/v3qdqjMCUM+TQagQ6okvX/N8M7sDhdmP2UpZ778ieP2860ft77s jShg== X-Gm-Message-State: AGRZ1gIysV55RpdRO9VOvkKyJ8OWdlEQMwINTA5lSL9trEmA570DPowa 16vgChuy+88ciBum8TYzQgFKbdklsPdXYPzVb4QTdGwHjwc= X-Received: by 2002:a37:12a1:: with SMTP id 33mr8133358qks.189.1541115238356; Thu, 01 Nov 2018 16:33:58 -0700 (PDT) MIME-Version: 1.0 References: <60988959.4070.1541112982406.JavaMail.zimbra@efficios.com> In-Reply-To: <60988959.4070.1541112982406.JavaMail.zimbra@efficios.com> From: Joel Fernandes Date: Thu, 1 Nov 2018 16:33:47 -0700 Message-ID: Subject: Re: [diamon-discuss] [RELEASE] LTTng-modules 2.9.11, 2.10.8, 2.11.0-rc2 (Linux kernel tracer) To: Mathieu Desnoyers Cc: lttng-dev@lists.lttng.org, diamon-discuss@lists.linuxfoundation.org, 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 Thu, Nov 1, 2018 at 3:56 PM Mathieu Desnoyers wrote: > > Hi, > > This is a set of bugfix releases of the LTTng modules kernel tracer. > It covers the three currently active lttng-modules branches: the > 2.9 and 2.10 stable branches, as well as the 2.11 branch in release > candidate cycle. > > Those releases add support for kernel 4.19. > > One important improvement is to prevent allocation of buffers larger > than the available memory, which can cause the OOM killer to trigger. > Even if the OOM killer end up having to trigger, the current OOM kill > target is set to the current thread while allocating buffers. This is interesting. Me and Steve were looking at exactly this issue with the ftrace ring buffer a few months ago. Turns out that even setting the OOM kill target may not be enough to prevent all OOMs. I don't remember the reason why not, I'll have to dig out those threads but that's what the -mm folks said at the time. I did remember vaguely that I tested it and the kill target doesn't always get killed.. its possible that something *other* parallel allocation can be victimized AFAIR, even though the culprit is the kill target. - Joel