Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp980317pxf; Thu, 1 Apr 2021 20:17:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlnQZgUtFKG87VCMvWdwCvLqN0IUm1KGzOTuS2S39oEE2SJfqFc/eTV9LSeUsTgqZ+mK8w X-Received: by 2002:a05:6e02:eaf:: with SMTP id u15mr8903074ilj.45.1617333442016; Thu, 01 Apr 2021 20:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617333442; cv=none; d=google.com; s=arc-20160816; b=FoOm695dNGYgJGxBpLwJ08DPXSCKYy9AIChCba+xzSN9rPQn41YBrHP36Gn8hTeJc9 xu0VjvFsdAZFthM5TxjtDgLDvGIzqbK7UccBwmCHP3xgXgxqId4hWCn11u2IlyhCJU3x aaboBDW61y2gHBPCcdMJHYeh40jK950QCyPFly6UfKU1yXSMdniqQ8IMMKjr18cNo4rn whOuM/G+lBqt6gmi7twA+1Fqldnke/JmZkV6wUA0EyXPD0hxQvJwIoF0AAxNrLA6/L7Y sEnAIlK7jK5b5RydnGalrwOa52sj1kl/8hhONGDZ4nK/4SUbsB9yW235fvbsqkafjwem qe3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SRRgjqZ34MTVBuBEV7ju4Pgz+uX9gggPAvm+h647JYY=; b=kgpKds4EHBAFgdL/lTUo2CVqw0Tt5NjnvOXTMHz7DfnKx3QatYT1pFYJm4GtQGi3kJ xatWK+eG1UsFsdOVZFhCKgEqkYlsPu/cf+I9U4rTm/njllVL6Zk/KgdvRnyGOlqFhOlE F0A8Q59hLcMHff+m9iL4XdhgfHwYS/BoC94G8b2M/S2LB77JxJgEdRslncVjHP2KPIsp D7rNuu5aXTGZDXdlueMfaZgnPAP8txK5WfMf3FnQhMOrFOwTE2IAP7ed0CyaCxWBnpSs 1tyEbnZepn4IoMfTYP/PNfMCaEAlyMMLQ7CZV7yuDGBb4AApVhSG4dD8VZbiURhxIPDF ui2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=WpiIjAFA; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si6658719jaq.71.2021.04.01.20.17.07; Thu, 01 Apr 2021 20:17: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=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=WpiIjAFA; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234323AbhDBDPG (ORCPT + 99 others); Thu, 1 Apr 2021 23:15:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234314AbhDBDPE (ORCPT ); Thu, 1 Apr 2021 23:15:04 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A38DC0613E6 for ; Thu, 1 Apr 2021 20:15:02 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id q5so2781062pfh.10 for ; Thu, 01 Apr 2021 20:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SRRgjqZ34MTVBuBEV7ju4Pgz+uX9gggPAvm+h647JYY=; b=WpiIjAFAa3LDUSlegmsWYXaJG3Lxq8FnfJDhFAUa85YVy6u2c6LSRBhrYOYeSsrVCF IQHD3TSclXT/gOIDAxyTHmP8FjI6ahotRY+OcekK6gn5i/SpVsReSQApGguzpjfIkTbk fY6mDvLRcdvTE3tLNfJ7tx6nM9MrOskCPfxYfW1siddrR/tI/szYM72WFHCu5yw4pWnb NeKY99YBgNYIKUkXS7UUNlvw6i+cScau0KtRPoNJoWsQKwuqB76YRpcFQw+SXf7HrzFG Hz6PKdu+SOae/I0oRF+PZCdR5klqKOXXBwlJ+7WAvcQL7qdmhsn+uS2ycAY2r0ZF7Fl0 5eVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SRRgjqZ34MTVBuBEV7ju4Pgz+uX9gggPAvm+h647JYY=; b=L/XeS8at4iutrOVQPD5vV1N6oduFJuaqKs2fu2To1S0Ji1T+L9vSaFuzRxh9aduVgI Ref3gAD+45Ve3gFyygKGO30BPuKmq4CWtQUMhG1Jj6pewh9KCt8vQ5Tp6txwMurDsww1 pIB4De0bolsz30ltMhq7HFpYvE8Rpz5m+D4kZgky6E9a5y3j5rQiTc+LexIx7n/vkqat o+TZqupPAhJ9dhGTWGQp+emfSjRsyfbBAZzm/c8qUMP1akF1XOUg+NcZczYp1TYc9x7h WT31IBvOs2IgdtF7CndREYqQyk2HSYNmiYMwYBo2mshCQ1g0FfnxGcFDrXN41wZhL9+g 7+tg== X-Gm-Message-State: AOAM532np4xGQ74yZ8WbduU13JOYKTqFt/uQy4V/aI4hpmYfcIoICxtQ +0BBHGTufSavBZZxxlB2TCArBtnSHZAWNaz2BE3QxQ== X-Received: by 2002:aa7:9e5b:0:b029:1f1:5ba4:57a2 with SMTP id z27-20020aa79e5b0000b02901f15ba457a2mr10220791pfq.59.1617333302040; Thu, 01 Apr 2021 20:15:02 -0700 (PDT) MIME-Version: 1.0 References: <20210330101531.82752-1-songmuchun@bytedance.com> In-Reply-To: From: Muchun Song Date: Fri, 2 Apr 2021 11:14:23 +0800 Message-ID: Subject: Re: [External] Re: [RFC PATCH 00/15] Use obj_cgroup APIs to charge the LRU pages To: Shakeel Butt Cc: Johannes Weiner , Roman Gushchin , Greg Thelen , Michal Hocko , Andrew Morton , Vladimir Davydov , LKML , Linux MM , Xiongchun duan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 2, 2021 at 1:15 AM Shakeel Butt wrote: > > On Thu, Apr 1, 2021 at 9:08 AM Muchun Song wrote: > > > [...] > > > The zombie issue is a pretty urgent concern that has caused several > > > production emergencies now. It needs a fix sooner rather than later. > > > > Thank you very much for clarifying the problem for me. I do agree > > with you. This issue should be fixed ASAP. Using objcg is a good > > choice. Dying objcg should not be a problem. Because the size of > > objcg is so small compared to memcg. > > > > Just wanted to say out loud that yes this patchset will reduce the > memcg zombie issue but this is not the final destination. We should > continue the discussions on sharing/reusing scenarios. Yeah. Reducing the zombie memcg is not the final destination. But it is an optimization. OK. The discussions about sharing/reusing is also welcome. > > Muchun, can you please also CC Hugh Dickins and Alex Shi in the next > version of your patchset? No problem. I will cc Alex Shi in the next version.