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.9 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 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 29064C47082 for ; Tue, 8 Jun 2021 09:39:55 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AFE3261246 for ; Tue, 8 Jun 2021 09:39:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AFE3261246 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 4D9976B006C; Tue, 8 Jun 2021 05:39:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 489EB6B006E; Tue, 8 Jun 2021 05:39:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 304056B0070; Tue, 8 Jun 2021 05:39:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0188.hostedemail.com [216.40.44.188]) by kanga.kvack.org (Postfix) with ESMTP id 003AE6B006C for ; Tue, 8 Jun 2021 05:39:53 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 9142C824999B for ; Tue, 8 Jun 2021 09:39:53 +0000 (UTC) X-FDA: 78230059866.09.6369E43 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf30.hostedemail.com (Postfix) with ESMTP id 8DE0AE000240 for ; Tue, 8 Jun 2021 09:39:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623145192; 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=9LlW99M3AUTZm+NlelDfggWF0/pPvt2/vMj5NeCrGTM=; b=DfuQV/8ffrL4KjmbuGEWuxV9a8e0GVRegGEtDsAYEC/i91efP2T5Doi/BNBjcd1OmYb2tO Be52GkIoT5egEw+0zYUjUMOaBg/oh/CEMKEcrk/yrB+47J7hV/4JAxQEYI4DMeMwQpH+uJ 9Og+AZFRrZsPYcTIms5DZ2iFywYCeT4= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-562-4UeP9RH0PB6JTvRHn5CDSA-1; Tue, 08 Jun 2021 05:39:51 -0400 X-MC-Unique: 4UeP9RH0PB6JTvRHn5CDSA-1 Received: by mail-wm1-f69.google.com with SMTP id 128-20020a1c04860000b0290196f3c0a927so1021803wme.3 for ; Tue, 08 Jun 2021 02:39:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9LlW99M3AUTZm+NlelDfggWF0/pPvt2/vMj5NeCrGTM=; b=UiRuj3U/TaC04L0rRJPUOn840JxT/nfOTk4H+2YswuPFfjOSQXDS0kf31SaMDzIkaK JXgTltgecjigcSf/OMTtKRcrMJnsMcdptb4Y01VO6OklkrWrViIOe16q2duI4OH1oLob Fbq1u1+sexTe7VJX19v1xxbc6AtPnXVLt7gS+x1ePPuNTd8Rvht+0rZAFk4grgXspp3Z aHlhX5D58WSswfmT+n/Z+voZIaWMnI1uT+hoZJTS8CTr3D2w5rZqRo/m/gGWSlBa2lVM yS1qcoS9JoYFEQV5382FgblqPgBeRDyf1D232xZp8X8yKy3O1ntiv1iyb9E+iZwW+rwh muyg== X-Gm-Message-State: AOAM532nEs30qbWvsldryxgPhh2h+rvAdcjISivgSWJWNqIX7NS67HGx dqILpdDRbXoU/YRuyFo1E7WZY5Vz1cE5cRNNVcS/ljPbw4R8OK5gls6ZleWflAQ16NyKDVAeZJV pZlDOw6TBFA== X-Received: by 2002:a05:600c:354f:: with SMTP id i15mr1628697wmq.131.1623145190489; Tue, 08 Jun 2021 02:39:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzngI3VjMKc7cvpd9cz6cCLbAhO3CLKRxkuY/0NW1czdH/+MMSM5D+Gpmg2fYjW6vD+Mjj0Fg== X-Received: by 2002:a05:600c:354f:: with SMTP id i15mr1628684wmq.131.1623145190355; Tue, 08 Jun 2021 02:39:50 -0700 (PDT) Received: from localhost (cpc111743-lutn13-2-0-cust979.9-3.cable.virginm.net. [82.17.115.212]) by smtp.gmail.com with ESMTPSA id q11sm18832988wrx.80.2021.06.08.02.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 02:39:49 -0700 (PDT) Date: Tue, 8 Jun 2021 10:39:49 +0100 From: Aaron Tomlin To: Michal Hocko Cc: Waiman Long , Shakeel Butt , Linux MM , Andrew Morton , Vlastimil Babka , LKML Subject: Re: [RFC PATCH] mm/oom_kill: allow oom kill allocating task for non-global case Message-ID: <20210608093949.szz3e6ucpf7mztxr@ava.usersys.com> X-PGP-Key: http://pgp.mit.edu/pks/lookup?search=atomlin%40redhat.com X-PGP-Fingerprint: 7906 84EB FA8A 9638 8D1E 6E9B E2DE 9658 19CC 77D6 References: <20210607163103.632681-1-atomlin@redhat.com> <6d23ce58-4c4b-116a-6d74-c2cf4947492b@redhat.com> <353d012f-e8d4-c54c-b33e-54737e1a0115@redhat.com> MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 8DE0AE000240 Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="DfuQV/8f"; spf=none (imf30.hostedemail.com: domain of atomlin@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=atomlin@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Stat-Signature: d7x4xhpeb9751wrsskfzuzdmrqmqdtfa X-HE-Tag: 1623145191-277258 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 Tue 2021-06-08 08:22 +0200, Michal Hocko wrote: > You are saying that there are other OOM kills going on. Yes. > Are they all for the same memcg? No. > Is it possible the only eligible task has been killed and oom reaped > already? Unfortunately, as mentioned by Waiman, no other task is suitable for "selection" due to the OOM score (i.e. OOM_SCORE_ADJ_MIN;) that said, I need access to the vmcore to check i.e. mm.flags - I'll get back to you as soon as I can. Kind regards, -- Aaron Tomlin