Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4281558pxb; Thu, 14 Oct 2021 02:05:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTDJSrHwdNCqiWLLPs/hQlx8jIGy+kP5q7L6O40rsewV1L89jBMoH4d/KQt6CsZa1/VCzb X-Received: by 2002:a17:902:ab8c:b0:13a:22d1:88d with SMTP id f12-20020a170902ab8c00b0013a22d1088dmr3929400plr.33.1634202322846; Thu, 14 Oct 2021 02:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634202322; cv=none; d=google.com; s=arc-20160816; b=wyPN08Gt4aMhEDgpAjegW5OH3mNHIaADKCl5qA4CrUe59T7HQPBC/SCcenQpvK6Xqo Oe6miSKyCWsD+N/6TdYdo6JoOThhoEE36aUB9c2PKzLrsf6+pck1GAenzTPeiuecJIiD ofzoBwP61unzzpNyh7SgTAnq8HZg8EMHTMYt09M+wpUoSnSpI8i+bvca5vLVRwoQeFNO VqLZPFyeo2cecenIDxJGzPNCkLiGu4+G7PDxQvxIdu+w5EpeLoziD66G843BN0eDS3Mw aYguS5ilR7/ebVMsNTPwHc9AwQD0IS4qRO2OgzeDCQnkzpiWs1t76av66ubL5tTWVNo6 CEIg== 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=lu12yO1VBRDo6VgSvac2BSrF4pgu+g9lquRIF7SLSvU=; b=WEP1bbxUcA40ZI/I5RJQVlxEOIe+q/CxM/IU5ur6mV8A4IxH0rL77MIZzHKBuL7InD vpB3JPkfFDlGRyngv9FStJgGl+1RMhyz0RipjyL4AjVRzH96Psap/XfWOhRxht5oLALX 5WWDTHHMXusJwkKvM7QukDnoDk1bQyF+qQCmVfvAhdyv0+1rrCQ5Gzff0QD+CMlfxbNK 2zSO/TixHKz0joFklZO3tb4CnpQSsb31yn/nAZMH8XB9wXTQ7e1uWQbLuUL4YJfKI3fQ aT5TJzz/rwIy0YLdyeUvhp/ohA1c2Q/UVeFXe6RAWOYhCe4PZciiEvrxeos1X0ly73Ta QIjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=LxA2lYm8; 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 i9si3641464pjh.5.2021.10.14.02.05.09; Thu, 14 Oct 2021 02:05:22 -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=LxA2lYm8; 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 S229970AbhJNJGO (ORCPT + 99 others); Thu, 14 Oct 2021 05:06:14 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:60330 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbhJNJGN (ORCPT ); Thu, 14 Oct 2021 05:06:13 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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-out1.suse.de (Postfix) with ESMTPS id 899BA21A76; Thu, 14 Oct 2021 09:04:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634202247; 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=lu12yO1VBRDo6VgSvac2BSrF4pgu+g9lquRIF7SLSvU=; b=LxA2lYm8DFK5I+Ih+5z2NdWuDvzhjnkebYh3JxYl4ebEJ3ItNSkOB/BILlLXSYlHJuW6MZ QJ1PXOanVyHcyZw2ORTbNI0qLl/mbSDt+Wr8zbEEYrPgZCPhCxif9PFVOK03U1NqDlYpM1 Mg+HGBov+6qE3UB/TTCnohFyupV/o2M= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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 imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 738D313E60; Thu, 14 Oct 2021 09:04:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id sC64G4fyZ2FvTQAAMHmgww (envelope-from ); Thu, 14 Oct 2021 09:04:07 +0000 Date: Thu, 14 Oct 2021 11:04:06 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Shakeel Butt Cc: Johannes Weiner , Michal Hocko , Andrew Morton , Cgroups , Linux MM , LKML Subject: Re: [PATCH v2 2/2] memcg: unify memcg stat flushing Message-ID: <20211014090406.GA62649@blackbody.suse.cz> References: <20211001190040.48086-1-shakeelb@google.com> <20211001190040.48086-2-shakeelb@google.com> <20211013180122.GA1007@blackbody.suse.cz> 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 Wed, Oct 13, 2021 at 12:24:31PM -0700, Shakeel Butt wrote: > 1) The periodic async flush will keep the update tree small and will > keep infrequent readers cheap. > 2) Keep things simple for now and come back if someone complains for > very frequent stats readers. OK, understood. Michal