Received: by 10.213.65.68 with SMTP id h4csp3893463imn; Tue, 10 Apr 2018 06:19:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx48frsbXPQ4TydXPR0e9S8k50nXAzFAEHLEbKNBVKFEC3emjLTCZOQr09Zmtp8JsVm4r1fT3 X-Received: by 10.98.61.80 with SMTP id k77mr375083pfa.2.1523366386121; Tue, 10 Apr 2018 06:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523366386; cv=none; d=google.com; s=arc-20160816; b=07KbyoLVbzWK1yv2wmBN7PqVW1Ts6jX4veYnsNbZOZXHehWHpwreAtRDo8CCX0Kl0d GBjTkdbUTS+HBrcBdMCjL7LzRUfAtTwW4dkCVDi/NpBsLaICihLoyvJNoVg73GBiBMhm XIgubBnuNDvYMWb0XJdnB5r+iWxLrOrokSOPjw03zyqN1TTHRUpfuacGbOsjMMrthZfV m9VL5XeJgafMjA4Ng37ap7ipqhMO8VI427xEkFpoe3MwDnBfXjQoRfNb6Tyd/B0hXa4B RX/MfPLYd0Q6fgPeHVRUNXkoXXaBWsBZfsvw6YAHyBdoszaxfNEK9Qs1NcIFPRWMCIu4 6jWQ== 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=yjM05kFZQaFWm94nAK3jF0O94nnRvBDWzURtWhbpOho=; b=JCq9EtJK3Sck4jJcxAzcul5z6AW0g1+df5SDe64imo3DLS6cU7/9gFEi4yqtgYsKpr 0auBkzkU1VAlNfVrLW6SZIP7z22rkdguxlFKVkVGu0OrHHHbb0bH6ZCONUpVZ/2ZUMyJ EsAnaa4sDsbguykA9rbtb7tkOFVwkjZSZkCxQN76j2ax3XYnbCgtz3W0eeu9pa0Mr9+d 0mqSly+ueZqQbu2Cb8oRxCRoJYraxxL6Iq7iQau3T/9ndbJNrgNLPp50RbuQvlAyGFnq VdTqyIPT6aiZz1BTSeLuQLFCxoyTSZa6LQJ+tfV+SILMGcifap1sGla2aDcAqYLB1pDQ +FDQ== 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 m128si2173639pfb.404.2018.04.10.06.19.08; Tue, 10 Apr 2018 06:19:46 -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 S1753818AbeDJNOu (ORCPT + 99 others); Tue, 10 Apr 2018 09:14:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:52654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752857AbeDJNOt (ORCPT ); Tue, 10 Apr 2018 09:14:49 -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 0A8EE20652; Tue, 10 Apr 2018 13:14:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A8EE20652 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 09:14:46 -0400 From: Steven Rostedt To: Michal Hocko Cc: Zhaoyang Huang , Ingo Molnar , LKML , Joel Fernandes Subject: Re: [PATCH v1] ringbuffer: Don't choose the process with adj equal OOM_SCORE_ADJ_MIN Message-ID: <20180410091446.01c25c3b@gandalf.local.home> In-Reply-To: <20180410091311.20bd8ccc@gandalf.local.home> 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> 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 09:13:11 -0400 Steven Rostedt wrote: > Something like this: Zhaoyang, would this work for you? Then all you need to do is to: echo 0 > /d/tracing/options/mem-reclaim and then you have the old behavior before Joel's patch. It will use NORETRY and also not set up the OOM to kill your task. -- Steve