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=-6.0 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 E2576C48BCF for ; Wed, 9 Jun 2021 14:35:42 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8633D613B1 for ; Wed, 9 Jun 2021 14:35:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8633D613B1 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 D3D896B006C; Wed, 9 Jun 2021 10:35:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D157C6B0070; Wed, 9 Jun 2021 10:35:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BB5D26B0071; Wed, 9 Jun 2021 10:35:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0180.hostedemail.com [216.40.44.180]) by kanga.kvack.org (Postfix) with ESMTP id 87A2D6B006C for ; Wed, 9 Jun 2021 10:35:41 -0400 (EDT) Received: from smtpin39.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 0D9936D80 for ; Wed, 9 Jun 2021 14:35:41 +0000 (UTC) X-FDA: 78234434082.39.4672368 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf23.hostedemail.com (Postfix) with ESMTP id 02C8DA000275 for ; Wed, 9 Jun 2021 14:35:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623249340; 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=M7rJIXZOoBsizKD/ExVFHImSCznVlsYup2Ucxq/ePBQ=; b=UVPdGjrs1fOD0H9XqrPuFQVNoAM03M8tIQnTUrjLCbITjfgNVdDQBrzlOu003ZG1KQIKP1 at7U/LllsBKtC3lO8r7NCd9Gc0CcfGXIr5KuZ9D49dD8wbx9Be2xnR0ndqfMU9cZ1KaqoL 9ReK75fCbzaAGMUmXeBheNM1GMfYwUs= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-z-k61iC0Px2aVaSoIIOdBQ-1; Wed, 09 Jun 2021 10:35:36 -0400 X-MC-Unique: z-k61iC0Px2aVaSoIIOdBQ-1 Received: by mail-wm1-f72.google.com with SMTP id 128-20020a1c04860000b0290196f3c0a927so2692838wme.3 for ; Wed, 09 Jun 2021 07:35:36 -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=M7rJIXZOoBsizKD/ExVFHImSCznVlsYup2Ucxq/ePBQ=; b=EApsZ3v6TPCfhkS6yWbdblL8Ahe5JvWsxHRiSc2YtoMrihNX3egGYGU60TjpBarlLG Jawn25RCKb+D4scVLnhiwuqBI3Ld7rzRIy3kr2mJU93/aXtCrs7wuxVPx2g+JPsMm8k2 06pagOwXD2ZjLFMQxIwWXH4ZOojtKr6bPyRt0tbBkn8O+b7Xw4Az4gaWUDGpj5ihpsDb WC7l8TdbIm8JdvSGfhoUu4+N7fbkReK3EP7+JqBYstORMAIQ8OvG44sHiNe+5FQF6tFK 12bVf3UAUBGNKAAzOhSjkvG82y3xcrHqz72v4b1DQwB4xkN/GcrnZuQ7IzWytSM6YXkd Pijw== X-Gm-Message-State: AOAM532X2pX9a9Ld5/lJY+gs/8ri1Njcp0rByTVnyTR2tvcqcR69VHUu sbjaritorzMotjaq7mlKn+BLJbXPVee83wLGNnPMa8gEVeHjuwIZFPgHEiAKezoiEU6+scUmYrs ShTb88fmOhQ== X-Received: by 2002:a1c:9a8e:: with SMTP id c136mr10007869wme.103.1623249335438; Wed, 09 Jun 2021 07:35:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3EdxrYnRuZMFx5h6s9kb+XP30AdOjlQB0mlmCmQ884u95q3AKO1ngW0l8/b7NM5BO6cCO6g== X-Received: by 2002:a1c:9a8e:: with SMTP id c136mr10007846wme.103.1623249335244; Wed, 09 Jun 2021 07:35:35 -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 v17sm157730wrp.36.2021.06.09.07.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 07:35:34 -0700 (PDT) Date: Wed, 9 Jun 2021 15:35:34 +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: <20210609143534.v65qknfihqimiivd@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: rspam05 X-Rspamd-Queue-Id: 02C8DA000275 X-Stat-Signature: idk4wubo793d1nmgq4uc1a9c4zg8kcqg Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=UVPdGjrs; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf23.hostedemail.com: domain of atomlin@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=atomlin@redhat.com X-HE-Tag: 1623249336-222470 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000185, 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: > Is it possible the only eligible task has been killed and oom reaped > already? Yes, I suspect so; and I had a look at the vmcore, the task in the OOM report is no longer present. Therefore, I suspect the task namely "node" (i.e. PID 1703345) was OOM killed i.e. a SIGKILL was sent and was granted access to memory reserves and selected/or choosen by the OOM reaper for termination; the victim then raised a page fault that triggered yet another "charge" in the memcg that exceeded the memory limit set on the container; and since no other task in the memcg had a suitable OOM score and the allocating task/or victim was "unkillable" i.e. already selected for termination by the OOM reaper, we got the message: "Out of memory and no killable processes...". -- Aaron Tomlin