Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5081231pxj; Wed, 9 Jun 2021 08:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6xIIZTIeJR2Qi+naDmZL+pmpCAfRJ8XviW6Qnqaiw3NC4Kb5lX95G31vfUGLUx2VLGReW X-Received: by 2002:a05:6402:3198:: with SMTP id di24mr86497edb.244.1623253441758; Wed, 09 Jun 2021 08:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623253441; cv=none; d=google.com; s=arc-20160816; b=uiaBHhnt8stubhFlG4R5ipWVTiZRIUYkcWsOrWIL23aDy0JPpj6M+Kt47rVk6CI0te u6bF9O7dn/YF0oJLL+zjLPi0Z+yhXtgNLqJLjbr16ijfIQAJSOUn9OwP5kGeZo1LNDTI fkYO1y/gFotrKdFutcHL/7J6C5XaAcLHeSorB4cjuX+EoqRsOQLaX0tJEC7Q0YB348Br Xmp7MsJPL3qBEAvtJluj1b/GQjGT5Qrr7BuTtNGO4QnV7l1ZjDSAjpNRQoX18d258ku7 8ptTrvffxu3vfgS+SQ6QT+gPyDc9h22MjKRQBYGolBgwPmpWjIsGpi/lEGdvn+9lfpS4 vYxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=M7rJIXZOoBsizKD/ExVFHImSCznVlsYup2Ucxq/ePBQ=; b=W57vP682MCOcEIqtJdnI9pq46aTN/LnOgeqDlQWQecKB6bCQU/x2SsfTn6YXBtAEe4 a+HUZSvceBKnX09J6XyZ3+qpR+vNKujfv4QnxPz/NVihID4v/nmGeFVQQ2WJdO3ayqBL FiyP5D5pI0I5KSNsQg7UaKyV/JMiG/JqDCxkrDuslspHhy+k/FtujZcZicHPAAhIUhVA Xw232A00BWBNl58dI2InV8RoETeClv7iXEf+s9BDwrKjmj/PmcNL0+CgfDj8/mvqINTC HHzwGep2dI37wHrHKu5xeNlajIAM73TJbT/JHmuwk4lm4bvCu0wJix4awhSA/xDWIp+C ++pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZVyUH9Yn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si58176edp.268.2021.06.09.08.43.38; Wed, 09 Jun 2021 08:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZVyUH9Yn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236484AbhFIOhd (ORCPT + 99 others); Wed, 9 Jun 2021 10:37:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:60776 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232850AbhFIOhd (ORCPT ); Wed, 9 Jun 2021 10:37:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623249338; 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=ZVyUH9Yn+trcZXD0vrGhafM2JcI+aeUPBatb5OcWwX6RuAAkh3FgCyEmtJCtu+b9NB2ZNs 5cAzcb5G/9Ad4dbH8jh5WPivbVlrkzxC/16/BLBn2e3mpbRY5ZHXUuU2O5Jdx2UHRyRR4m T7lKxJp9JirEs5SibCduLEFPFGLNa4Y= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-592-DkamC2aNP4KRnz0_wOdOSQ-1; Wed, 09 Jun 2021 10:35:36 -0400 X-MC-Unique: DkamC2aNP4KRnz0_wOdOSQ-1 Received: by mail-wr1-f72.google.com with SMTP id n4-20020a5d42040000b0290119fef97609so1015976wrq.18 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=fTnhfBzV4I4xaVZ+BD3Rh8J0dIor1AfFl0+HrFeFhQYb9lTimjtcuV3uaVHzB/STDH A/7Vk9ieX52WA1brlHGBk5s9hdwqRl5SmVynfxLVZKGCSEW+akIJJk7p+6xGpTDF6ymL rTGcBBH8rtWxIu8RfRTTefAoXC2jbCufu5Ib9JRbnF1K8ddXCpByRog3tbNjc8xtJRaG PhGMpxA/UtYhbodje1YMIrl/yCyTU2xe0I7dOxP8RZSklLv6v4K3faaHImMoWVhVquII n5UuySJ/zp51K1tVGmbOvggRAxi5w34+tdRrYE2ER4bFWhW758FnG0/EYe8gbSJApG4m SkNg== X-Gm-Message-State: AOAM530q6XL72v80zcH3h6rfxa3cnO6Lst0nTHXkoUiFlr/VGX+ITLkC w6sDC9flT2F5SvtQa3ReWOxOmX7wcli7jPcBnCYZor1XDj7I3VyfDmHN5l+KeW2ORbnRXKim5By 9oGZfoI/Afzs/nDzhtbAq8b0= X-Received: by 2002:a1c:9a8e:: with SMTP id c136mr10007868wme.103.1623249335438; Wed, 09 Jun 2021 07:35:35 -0700 (PDT) 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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