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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B33B8C433EF for ; Thu, 14 Oct 2021 09:04:10 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3A1BA61056 for ; Thu, 14 Oct 2021 09:04:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3A1BA61056 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id AB30C900004; Thu, 14 Oct 2021 05:04:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A61C0900003; Thu, 14 Oct 2021 05:04:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 92A22900004; Thu, 14 Oct 2021 05:04:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0020.hostedemail.com [216.40.44.20]) by kanga.kvack.org (Postfix) with ESMTP id 81468900003 for ; Thu, 14 Oct 2021 05:04:09 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 451B62CBBA for ; Thu, 14 Oct 2021 09:04:09 +0000 (UTC) X-FDA: 78694456218.30.742016A Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf04.hostedemail.com (Postfix) with ESMTP id 410AD50000B3 for ; Thu, 14 Oct 2021 09:04:08 +0000 (UTC) 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) X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 410AD50000B3 X-Stat-Signature: w7fi4dikytigtc34pfybynq9excxad8z Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=LxA2lYm8; spf=pass (imf04.hostedemail.com: domain of mkoutny@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mkoutny@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com X-HE-Tag: 1634202248-467811 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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