From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60026C433E9 for ; Thu, 3 Sep 2020 14:05:14 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1533C215A4 for ; Thu, 3 Sep 2020 14:05:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="b0xAXGOB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1533C215A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7B8346B0062; Thu, 3 Sep 2020 10:05:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 768276B0068; Thu, 3 Sep 2020 10:05:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 67DFE8E0001; Thu, 3 Sep 2020 10:05:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0193.hostedemail.com [216.40.44.193]) by kanga.kvack.org (Postfix) with ESMTP id 50EB26B0062 for ; Thu, 3 Sep 2020 10:05:13 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id B38EB4408 for ; Thu, 3 Sep 2020 14:05:12 +0000 (UTC) X-FDA: 77221922064.02.jelly86_2216401270aa Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id D3F401048065D for ; Thu, 3 Sep 2020 14:05:08 +0000 (UTC) X-HE-Tag: jelly86_2216401270aa X-Filterd-Recvd-Size: 3190 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by imf30.hostedemail.com (Postfix) with ESMTP for ; Thu, 3 Sep 2020 14:03:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599141837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CRM5SDuyNkyo2LaLrW1Sn25CKUsI02PlDXJ3rHe+Ca0=; b=b0xAXGOBBB18zfzd5sBfrs6QFv75irHMLhG48S0MsCn8RlXVtMX3GuyvB9Yj+cVD3FaS5S e0+l7AdShRS1ozB93h1M6Ls0EOwEKEWiuYn78qllTmRUjm2HwrnQIbtPzfoNy/k0341z2/ cpOLkNf4pBvMwvOPWB83v2VYFO97REQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-39-cE6VzjKJNmuEUzUKyLYZWQ-1; Thu, 03 Sep 2020 10:03:52 -0400 X-MC-Unique: cE6VzjKJNmuEUzUKyLYZWQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C3D9E18B9F86; Thu, 3 Sep 2020 14:03:47 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.40.192.114]) by smtp.corp.redhat.com (Postfix) with SMTP id 4F9A65C22B; Thu, 3 Sep 2020 14:03:27 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 3 Sep 2020 16:03:47 +0200 (CEST) Date: Thu, 3 Sep 2020 16:03:26 +0200 From: Oleg Nesterov To: Suren Baghdasaryan Cc: mhocko@suse.com, christian.brauner@ubuntu.com, mingo@kernel.org, peterz@infradead.org, tglx@linutronix.de, esyr@redhat.com, christian@kellner.me, areber@redhat.com, shakeelb@google.com, cyphar@cyphar.com, adobriyan@gmail.com, akpm@linux-foundation.org, ebiederm@xmission.com, gladkov.alexey@gmail.com, walken@google.com, daniel.m.jordan@oracle.com, avagin@gmail.com, bernd.edlinger@hotmail.de, john.johansen@canonical.com, laoar.shao@gmail.com, timmurray@google.com, minchan@kernel.org, kernel-team@android.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, stable@vger.kernel.org, linux-mm@kvack.org, Michal Hocko Subject: Re: [PATCH v3 1/1] mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary Message-ID: <20200903140324.GH4386@redhat.com> References: <20200902012558.2335613-1-surenb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200902012558.2335613-1-surenb@google.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Rspamd-Queue-Id: D3F401048065D X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 09/01, Suren Baghdasaryan wrote: > > fs/proc/base.c | 3 +-- > include/linux/oom.h | 1 + > include/linux/sched/coredump.h | 1 + > kernel/fork.c | 21 +++++++++++++++++++++ > mm/oom_kill.c | 2 ++ > 5 files changed, 26 insertions(+), 2 deletions(-) Acked-by: Oleg Nesterov