Received: by 10.213.65.68 with SMTP id h4csp4277641imn; Tue, 10 Apr 2018 12:09:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx49XC/MbgRv3rCc4zILDK483OwGtgXVAXldZsXzEI8dvl27US3LilzqJKAkNUGPfAcaipXGr X-Received: by 2002:a17:902:b48c:: with SMTP id y12-v6mr862617plr.212.1523387372877; Tue, 10 Apr 2018 12:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523387372; cv=none; d=google.com; s=arc-20160816; b=bjUE49STptKtQS39EEtwjtlF2O+J+pGrPTXa6Xc+GtsMR9Nf4ypZqPeBpYL8FmxKSe nHROhsrInnYtV6hb05th+4pslbT9AQfv3CyzCt9K7pwQNu4YcisE3tMGWvpjow1V5pYX eVqxt2BbKt6OkCmKYlPBsa55lUYE3che3c/mcnp9Wk7bXyy06zKZmyVwMbE4wZxo4rmg b9W0wpThJQqQJrOC/WYYdvWZufXJ0hlEUNybnA4e8lP1H052IsYArPAx7Qnn3rlO1q3w M/52iV07rSCvk9959jAysopXC88RK4QKy93GxrvlOyIuLBCvWWQs9jjG6qrzPtIxi1Iq EEdw== 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=oFTOpoVmXzbkOd8eSu1KElD1WXwI9P8Qe2JcEKQgcLw=; b=DjCzFs6QVMQcJNtmvZ43GuZ757LOq3oPi9lscZ1It+maL6zqOyno9C4eVFErRNMada EbOpjAQSVWS/WdEInr2nFoG/m9aRaLKcdX93NboIrg14mPZL65bmXG4sTZx/E4zeTiar dAoe2zue1nNGwEUT83VulgtwycITw8pGfkUqyE6lwrANPPkp5C87Wp1EnPX54JPI/1Fk xlXwifFixlAStqlkwwZmnlxeybi9gmQGmntRNlbxzRftu8bNB35O2jgwdrt51L7e13wt Xfa5fxrSZFOuEBS5AsLI/sU1oFp7tiZNuIRlFr/oZNcKIx2R3N5tsQCnx0fry1uegrYM ZRzA== 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 c184si2483793pfc.367.2018.04.10.12.08.53; Tue, 10 Apr 2018 12:09:32 -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 S1752202AbeDJTFQ (ORCPT + 99 others); Tue, 10 Apr 2018 15:05:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:44700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751589AbeDJTFQ (ORCPT ); Tue, 10 Apr 2018 15:05:16 -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 8DF0A217BA; Tue, 10 Apr 2018 19:05:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DF0A217BA 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: Tue, 10 Apr 2018 15:05:12 -0400 From: Steven Rostedt To: Joel Fernandes Cc: Michal Hocko , Zhaoyang Huang , Ingo Molnar , LKML Subject: Re: [PATCH v1] ringbuffer: Don't choose the process with adj equal OOM_SCORE_ADJ_MIN Message-ID: <20180410150512.189f849c@gandalf.local.home> In-Reply-To: References: <20180410061447.GQ21835@dhcp22.suse.cz> <20180410074921.GU21835@dhcp22.suse.cz> <20180410081231.GV21835@dhcp22.suse.cz> <20180410090128.GY21835@dhcp22.suse.cz> <20180410104902.GC21835@dhcp22.suse.cz> <20180410082316.263d34ec@gandalf.local.home> <20180410122706.GH21835@dhcp22.suse.cz> <20180410083625.2c904ab2@gandalf.local.home> <20180410091311.20bd8ccc@gandalf.local.home> <20180410140036.650a8732@gandalf.local.home> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; 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 Tue, 10 Apr 2018 11:39:24 -0700 Joel Fernandes wrote: > Yes I agree. So lets just do that and no other patches additional > patches are needed then. Let me know if there's anything else I > missed? Yeah, I think there's really no other issue. I'm not going to apply more patches. > > Also I got a bit confused, I reread all the threads. Zhaoyang's > current issue is that the OOM hint *IS* working which is what > triggered your patch to toggle the behavior through an option. Where > was in this message we are discussing that the OOM hint doesn't always > work which is not Zhaoyang's current issue. Let me know if I missed > something? Sorry if I did. Right, it's that if someone does extend the ring buffer page size while the system is about to go into OOM, it may be triggered to get killed even though it's not the culprit of the memory problems. But again, this is really pushing what happens in the real world. That's the problem with stress test cases. What happens when it triggers something that will never actually happen in normal environments, and the fix just complicates everything for really no benefit. -- Steve