Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6010841iog; Thu, 23 Jun 2022 09:30:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tRLyujf9dpTzIWmi4MAT09f8G2U0nzWeL+ojFsoZ6hyghcrlvt9xZ0MNHuZlBkdS5PdI5P X-Received: by 2002:a17:907:7811:b0:6ef:a896:b407 with SMTP id la17-20020a170907781100b006efa896b407mr8851726ejc.645.1656001801779; Thu, 23 Jun 2022 09:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656001801; cv=none; d=google.com; s=arc-20160816; b=lnaO06QFCY1GYasMgiVms7USfD5GbQhN+HBr1F4WNlWvaGf5nzsSuNNeUUjGu4QgXG hoYDxghvmRpx2DwyOHGIpfNiROvcScQodqcf9CCjceGY59/CL+o8+qjaPGChjYSnLE6b wZSif8UXMX9q1N0efK6wwFcbeXK0jcrJH/5nvv90DU3iTPAIhMYiOaQKEv4yxcMLMy9m kKuWpur+w9wWvPGjWt5I2ufePjuEMLikuuLzWx4A5CK4ZnrNLTEPrQ2LSPxY2jJd2hM3 NruLK6PrXYdbCvkrcjOGrNV+In4GWSBozy6w4fji4dlik/MiyfxFnixUfTy2bJPa6OFg 7nRA== 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=wMF9zQXoS7789benC3y1Mqff9+pXyWjyfnVX7+d4uIU=; b=X8DwUKv8c1RlgPvpliUH4/KCMxTHUFoPl26MlZCk1C95+YNTzjKB1P3dNvTjb0ZPO1 9Qss7ovvuGdX1C/NRrVK7QMuoLt/Ba+hhwAZWFWA7vrPx9dbDvqQ5fOkx51E3LnrTiCb jmYwwALYm3W7UyP1lQ1HA5aVJI1IbGV23DuCrUXbNilZ4pZbCIRbNIkzSyHE83jgTMBv NK1btimxp9lyoY81lh7dqd5zwfv1X/e38aiQOkmPNGxettHfwq9aY+wQkKauLnWqj6oT TJXCU1wtCCljCjtPCKQVsFxY44gXXVL+CUAFkyxFVXJtrnegZvHX/ZA//uq2mQu6EX1f t1wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mvvikz1x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020aa7d7cb000000b004358df52764si31239eds.178.2022.06.23.09.29.36; Thu, 23 Jun 2022 09:30:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mvvikz1x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232169AbiFWQIK (ORCPT + 99 others); Thu, 23 Jun 2022 12:08:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232164AbiFWQIA (ORCPT ); Thu, 23 Jun 2022 12:08:00 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8C0A2ACC; Thu, 23 Jun 2022 09:07:58 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 0A0131F747; Thu, 23 Jun 2022 16:07:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1656000477; 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=wMF9zQXoS7789benC3y1Mqff9+pXyWjyfnVX7+d4uIU=; b=mvvikz1x06mAR0j9AIIjqZez94lYbuacM/0nvGLHh9QkoXhZ0Bgz3bcqKQylfvDVab1ffl fs5NfryGLmDNt9mFXbPF8S/1L9pyATCAiB9FP7RkBv2Nhdqo1yCiRNngO6aqd++vLOKIUx RwGAngJGkZvbsOT99UE2700SeBZB+E4= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 52EBA2C197; Thu, 23 Jun 2022 16:07:56 +0000 (UTC) Date: Thu, 23 Jun 2022 18:07:55 +0200 From: Michal Hocko To: Vasily Averin Cc: kernel@openvz.org, Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Shakeel Butt , Roman Gushchin , Michal =?iso-8859-1?Q?Koutn=FD?= , Vlastimil Babka , Muchun Song , cgroups@vger.kernel.org Subject: Re: [PATCH mm v5 0/9] memcg: accounting for objects allocated by mkdir, cgroup Message-ID: References: <4e685057-b07d-745d-fdaa-1a6a5a681060@openvz.org> <0fe836b4-5c0f-0e32-d511-db816d359748@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 23-06-22 18:03:31, Vasily Averin wrote: > Dear Michal, > do you still have any concerns about this patch set? Yes, I do not think we have concluded this to be really necessary. IIRC Roman would like to see lingering cgroups addressed in not-so-distant future (http://lkml.kernel.org/r/Ypd2DW7id4M3KJJW@carbon) and we already have a limit for the number of cgroups in the tree. So why should we chase after allocations that correspond the cgroups and somehow try to cap their number via the memory consumption. This looks like something that will get out of sync eventually and it also doesn't seem like the best control to me (comparing to an explicit limit to prevent runaways). -- Michal Hocko SUSE Labs