Received: by 10.213.65.68 with SMTP id h4csp2015455imn; Thu, 5 Apr 2018 07:36:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/68fLGZN1YIEfGeQT7k86AkJ3v5vDovWDUomdpVF8PSgGx+gDeMSuh+Px8RuCWK0B/layL X-Received: by 2002:a17:902:82cb:: with SMTP id u11-v6mr23057092plz.369.1522939006007; Thu, 05 Apr 2018 07:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522939005; cv=none; d=google.com; s=arc-20160816; b=FK71Cdm2B3dbccQORvCzsZpxufPgOIpuLj8fGKcuwKbkmgEGsQh4tcLseBSCcLJKqU I20eR6/lorcOLuC2qHVfdUlmhzIBLhqt8pFsQJOi+Em2OueZk5HnqzN6e18Cu/22weBx 8NucE/3YgeoY03V93E672h5nRnrldKfaGrAn0jwtoA2KAFM4al4GoBSwUeAaUQFShJWj z6mnHbOJSrzg2R7xt01Nk3Ng5378YAQVwQQO4F4HYNdbb4LgOOtNFi54B0UVgYdviiJR EFkUApvAZHbHa8IHGjNbNw+mGWk8pkXm9kfVbXsC0SoTuuWCd1x2LvHCppzZgQtv2cbR 734Q== 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:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=6B3QxZZsO8EdIdtjQu/TgOq1K3P4DKLp/cSEilKM+r4=; b=ucTkXqywYtEX7L2bkte/BFgFSJrrNhZD46JLnUIkXW0LCenRJcEgwQP9XYCGpXoyec rE7hzQKpLnfmxFMTezGUFZd5uI4TRKLojarlQWvZNWmL5DpP57VAi9A+mLtcwzCxL1W5 FiK85aO8ufW0MqzHdbLxuhJE07WSzUxyuA81vrtj7RTJs9ne6Exi7opz36ITbXSeNWLG gq808bAgza+5RJLogZkwIqvXSZWr++6mJZNA9Kh+zpehhdCSR5RlfPZzwOE+BgGOPByT w9y1d5bGWdk23N4dMF9xhYyojKQ/+ekwET9l8acvYs5zO+1hgBkVmsu5wtEyRhF2AnM9 fsqQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l27si6235502pfi.365.2018.04.05.07.36.31; Thu, 05 Apr 2018 07:36:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751465AbeDEOe1 (ORCPT + 99 others); Thu, 5 Apr 2018 10:34:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:37396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751179AbeDEOeY (ORCPT ); Thu, 5 Apr 2018 10:34:24 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D50621720; Thu, 5 Apr 2018 14:34:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D50621720 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Thu, 5 Apr 2018 10:34:21 -0400 From: Steven Rostedt To: Michal Hocko Cc: Matthew Wilcox , Joel Fernandes , Zhaoyang Huang , Ingo Molnar , LKML , kernel-patch-test@lists.linaro.org, Andrew Morton , "open list:MEMORY MANAGEMENT" , Vlastimil Babka Subject: Re: [PATCH v1] kernel/trace:check the val against the available mem Message-ID: <20180405103421.60bcf53c@gandalf.local.home> In-Reply-To: <20180405142749.GL6312@dhcp22.suse.cz> References: <20180403093245.43e7e77c@gandalf.local.home> <20180403135607.GC5501@dhcp22.suse.cz> <20180404062340.GD6312@dhcp22.suse.cz> <20180404101149.08f6f881@gandalf.local.home> <20180404142329.GI6312@dhcp22.suse.cz> <20180404114730.65118279@gandalf.local.home> <20180405025841.GA9301@bombadil.infradead.org> <20180405142258.GA28128@bombadil.infradead.org> <20180405142749.GL6312@dhcp22.suse.cz> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 5 Apr 2018 16:27:49 +0200 Michal Hocko wrote: > > I understand you don't want GFP_NORETRY. But why is it more important for > > this allocation to succeed than other normal GFP_KERNEL allocations? > > I guess they simply want a failure rather than OOM even when they can > shoot themselves into head by using oom_origin. It is still quite ugly > to see OOM report... Exactly! -- Steve