Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2949903pxb; Tue, 24 Aug 2021 11:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW2UGVPdgZL8d205lkEgbdJZ1OxMj7WcxO0txYg7jgvO9v5lY7XvCBVpA/uzx4KmfAP+Q1 X-Received: by 2002:a17:907:1048:: with SMTP id oy8mr41096649ejb.382.1629829070382; Tue, 24 Aug 2021 11:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629829070; cv=none; d=google.com; s=arc-20160816; b=S4UxarFcjibo6YCC2dD/4B/RILDg8WBdv+dDwG43ssiJIMq5t+DCuoLN9i4YLHxKZP B9gbrruMnFPnRFNRe82AJcpArTPmZc0CH3TB9drqTa8uk03qdtkDxw5oOR2EttVVq35Z D8FOU8mAmhgjilppVa+sXd7OS7K4srygoGt2wEI9xL5kCEwHFCw7t3fI8qz9OM2FUri/ 9Vaz086ZyCg/rDrZ0O1+OIYlqeGxLB+uOeyJoBukcqs7rN6zc+S8FAiqialviIVva7Og Esx/Q3RiDJkgOp5tYFRxLC3J+DkMnZO+nurrcn+W9kTUjiZXttKANy4nEeK2lbD4gbzf qJJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=gwH5bbr1n2NZef7C9Wwr43FBq6nYcyZU+iVjKru+rro=; b=CZpJ0XZxtZU6P1ZkauqHGEXVEtBlT6n77JCWgGfXDz37zJRdz4t3e/H4OLH6P8krls cdVShAChdvgF0qifLLQOmZ7oOEhBS/Q48Cuo8IJwoo4RRESiTcfJC3an/pfLzX26y4Aq plPW45q/BA1yndd3uIaTUPJmJbJBdbai0Cdg1Aiuvg73J1xsQX+1tlNwiUsaWBtx7+Mp +bZts143NQlgtqOigYyQWN4C3vDDuwYY65xmHyB0dHMEHnbz9YqALf7XIzjEyJa1aY0R q3JFMM5TjaldyHhQ7Om/ak7vmPDbyzRR29hNz/jLcEn7nb2i+x8LuaxvUYd6SErFfVAp oYOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Zphsll3U; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ji2si19212600ejc.344.2021.08.24.11.17.23; Tue, 24 Aug 2021 11:17:50 -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=@suse.com header.s=susede1 header.b=Zphsll3U; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237290AbhHXNCp (ORCPT + 99 others); Tue, 24 Aug 2021 09:02:45 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:56630 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233952AbhHXNCn (ORCPT ); Tue, 24 Aug 2021 09:02:43 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0BBF71FD7E; Tue, 24 Aug 2021 13:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1629810118; h=from:from:reply-to: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=gwH5bbr1n2NZef7C9Wwr43FBq6nYcyZU+iVjKru+rro=; b=Zphsll3UPQ8JZnXmkRt+VpNc5eh3bi0B29d1VWjPCEuibIhHnPN6iZfH5RD5r6ehB311i2 1lmvIysI56YO3YycS2hsn4QTO6ylJyEAVYR38Q/Cqi/qREqfvIwCBG2ypjRSJukQz24vLT 8Lwj7blexzosNMuZrwtcRpBAxnDHAFk= Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id D679313A55; Tue, 24 Aug 2021 13:01:57 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id e3FnM8XtJGHfLgAAGKfGzw (envelope-from ); Tue, 24 Aug 2021 13:01:57 +0000 Date: Tue, 24 Aug 2021 15:01:56 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Johannes Weiner Cc: Andrew Morton , Leon Yang , Chris Down , Roman Gushchin , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH] mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim Message-ID: <20210824130156.GB7802@blackbody.suse.cz> References: <20210817180506.220056-1-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 23, 2021 at 01:48:43PM -0400, Johannes Weiner wrote: > Note that this isn't new behavior. Understood, there may be a difference between: a) a cgroup where the protected reserve was detected (this changed), b) a cgroup where the protected memory is reclaimed. > "The number of times the cgroup's memory.low-protected memory was > reclaimed in order to avoid OOM during high memory pressure." Yes, this is what I meant (i.e. events for the case b) above). Michal