Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp447790ybh; Wed, 18 Mar 2020 02:58:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsegLqp0U9du2BcQ+VoNsi1mMYweGGHHipfCP2JBY8AlHsjVCFv/7E0CGlKZ5H/YwW0uvxT X-Received: by 2002:a05:6808:495:: with SMTP id z21mr2533477oid.149.1584525537297; Wed, 18 Mar 2020 02:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584525537; cv=none; d=google.com; s=arc-20160816; b=odoQtclRQgOngMs5GhHHGG8/Zs3xLhSdCWgp2GkbE3EhXnzxqFfNKSLEOob66pRovE HqT3judLXklplZqicIZS7D5eGENBD7yDRVs0rphD+a1VMPq/L2hoa2kNYBsFc4kUUMkg QQlaG/2ucOZlc1lYiP+oO60wesWzUVajGKHoSafDYjxGs806F9dPA4EOjIB8lbPPDU3Z 41HRr41oWM46p+rhAHxso46d3bMB9Wsf7s6sJupDy0xRBykR2mA4lXafN32kGqWJ974/ xu331u5Vj+jHyDTJTJNLcVl5x0u9ZbjlRByPoW5Vzvyl+BPsFhUwbcCLLj9sfQgyY1gz lQRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=GOcmbfCGsBYkxr9ElKbbF2lKiCO06vnAuf1KQJx6gnM=; b=uGUbUIqOGaAXrk6DW8MDyUixb+jEfyYTuVnN0bc1+AL16ZVSgY99RahaSfv4Dkzs8u rxnGQP6tQP7hg7NSRbi/W+M/+tlq/XS1oEYYGbFPYjrEKTrX6eld5Nj852ARyeCz8iB8 Zw/dQqbY4On1pcRUjYZBZACAxzwUmkHhUGYJ0YWudWsF8aq4ntrBMoGTs4phNcb8wo8S omtEpW3FOjLpIBwp3IiTVTytscp0OBFvF9Zdt9u6JNtLfAlpic84w9TMEnOvm96LAPh+ 2V8DooyBD8YrYQ49DD0Pfj1b1jC3ehwUGCccRECHDozXZmUg9P4X6UhJwLKuqtDdy4gp szWA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j16si3259761otq.76.2020.03.18.02.58.44; Wed, 18 Mar 2020 02:58:57 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727558AbgCRJ5O (ORCPT + 99 others); Wed, 18 Mar 2020 05:57:14 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:37715 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727405AbgCRJ5O (ORCPT ); Wed, 18 Mar 2020 05:57:14 -0400 Received: by mail-wr1-f48.google.com with SMTP id w10so631428wrm.4 for ; Wed, 18 Mar 2020 02:57:13 -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=GOcmbfCGsBYkxr9ElKbbF2lKiCO06vnAuf1KQJx6gnM=; b=X+judH+b0yjx8AzNhOcwU3Zp/ihld72xOPu9nScQ8noVWGjjMWGAqd6Wvpx7drlYic TZFZwzle7z0FZRrYAjf2aeSkltepaiC1BMl1fmvRBDF83q9ARiyvAceqcRKEUxuMXNdX G41Fj6TPgwnMtvXxIqTG8VH4HMBfHN1lHhK0rXL/qFZh4XV6wlFo8pcUZdQbPJEPN5n7 QwGWBL8V78L+/pwoCvv75k/DgQw8HF5TkQ3EdTGdq7xOwGCgVvpgmTfXwn2LqekDCOus gdAKwyRMRA+xbf7AjxWpFP0bKvWcH5YOn01UG+kVR+xYJExJh2KRWWb3H4oeQYhuErUH /Eig== X-Gm-Message-State: ANhLgQ2pnZxCkSsPmyoe/0GvJ85cFDvnGkjKrinlvaFmMFPxP2whB3+q CA8vkkn9fcDDYOmVjDh3ZcE= X-Received: by 2002:adf:ea42:: with SMTP id j2mr4642015wrn.3.1584525432444; Wed, 18 Mar 2020 02:57:12 -0700 (PDT) Received: from localhost (ip-37-188-180-89.eurotel.cz. [37.188.180.89]) by smtp.gmail.com with ESMTPSA id s7sm8708665wro.10.2020.03.18.02.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 02:57:11 -0700 (PDT) Date: Wed, 18 Mar 2020 10:57:10 +0100 From: Michal Hocko To: Ami Fischman Cc: Robert Kolchmeyer , David Rientjes , Andrew Morton , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch] mm, oom: make a last minute check to prevent unnecessary memcg oom kills Message-ID: <20200318095710.GG21362@dhcp22.suse.cz> References: <20200310221938.GF8447@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 17-03-20 12:00:45, Ami Fischman wrote: > On Tue, Mar 17, 2020 at 11:26 AM Robert Kolchmeyer > wrote: > > > > On Tue, Mar 10, 2020 at 3:54 PM David Rientjes wrote: > > > > > > Robert, could you elaborate on the user-visible effects of this issue that > > > caused it to initially get reported? > > > > Ami (now cc'ed) knows more, but here is my understanding. > > Robert's description of the mechanics we observed is accurate. > > We discovered this regression in the oom-killer's behavior when > attempting to upgrade our system. The fraction of the system that > went unhealthy due to this issue was approximately equal to the > _sum_ of all other causes of unhealth, which are many and varied, > but each of which contribute only a small amount of > unhealth. This issue forced a rollback to the previous kernel > where we ~never see this behavior, returning our unhealth levels > to the previous background levels. Could you be more specific on the good vs. bad kernel versions? Because I do not remember any oom changes that would affect the time-to-check-time-to-kill race. The timing might be slightly different in each kernel version of course. -- Michal Hocko SUSE Labs