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 D32D9C433F5 for ; Wed, 29 Sep 2021 03:26:12 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 78CAA613D3 for ; Wed, 29 Sep 2021 03:26:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 78CAA613D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id C327D6B0074; Tue, 28 Sep 2021 23:26:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BEB1C6B0075; Tue, 28 Sep 2021 23:26:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AD0C8940009; Tue, 28 Sep 2021 23:26:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0049.hostedemail.com [216.40.44.49]) by kanga.kvack.org (Postfix) with ESMTP id 9DD7A6B0074 for ; Tue, 28 Sep 2021 23:26:11 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 53376181A86E2 for ; Wed, 29 Sep 2021 03:26:11 +0000 (UTC) X-FDA: 78639172542.21.B6E02B1 Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) by imf09.hostedemail.com (Postfix) with ESMTP id 0EC553000100 for ; Wed, 29 Sep 2021 03:26:10 +0000 (UTC) Received: by mail-vs1-f44.google.com with SMTP id l19so1352761vst.7 for ; Tue, 28 Sep 2021 20:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mJP4XEW0PizZ+gaHwBJ6A7IE4TUjSS7IYV9gb2WrUn8=; b=GlTJjNKA9/XgQaTytLcy5VdmpOnq75ilyb1AI+A4KmRNdu9ilA5/NsO5+8D2vjw3TC UuJxskcL/h3N6hQxfGgFduD90pMpl8IfA752yrKkjPSDHaJN5Z7bL0j5Nrh+55u5buMS dMzG5pHaqsaekJnhQPB59NShFeyZIN81W79A8Gx5sB8K0y2nTgHYDAPpS7Q3akvBnTU0 oMKWomDnSVs/KXb1tRoI3kSFBSAxuTzrkeRV9vi42Qk/W3Wc+l/mLI5bRrvwbydrs0sz Y+o8Hbik/F5DCpEkjh2zlEyYof7WLVevXX95RJBy/6+RSt1beGiQS6fT5/EpOHaV4JUE LPNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mJP4XEW0PizZ+gaHwBJ6A7IE4TUjSS7IYV9gb2WrUn8=; b=m8K4Ag/2slx3LWal+ovMsJfalF1ePRW1JcoLPFD7xewX01BheEW3UQtp2Kj77K/dsY 2wKECm+w1h5GQChyKZ6xH0g+sDIW2ncmjHjQtnMT6bi7sv1WMw6NraMN/xZg1lHyg75H kx+BM7vQMgVuDZqjEVgpotn5IgpD96c+utKEw9KshdVUOXT1jHvoi3OU2QndOUBUy7m3 GvmXq7795jlU17uJAbYlFYD21osPyjQG1hVCdYZtwKz47ZRJvG0LU1KqQ7Ggds/JSLPh M42Sywo33MSmm66Lg5SwLK1TYNXgp8OvT6TfZ4Y/2ezMik6/7PO9T2x85+4LyUqJcOEi 6yLQ== X-Gm-Message-State: AOAM532KESv/ibbv/r2gT96MW9P0nY9uTcLXrL26wDPYoIF4EjKdLKC+ bBWZDX3s1loPlNtxFbtC5qat2Wn0FHasAPg6ENc= X-Google-Smtp-Source: ABdhPJwrFJlk7pOcxzymFvvtlL8Yva15uSECGQTimRjkCiNaTctj8xvhv9FcHiIeVQxunHhJ3CJbWFtonkW2uVCIMVk= X-Received: by 2002:a05:6102:302a:: with SMTP id v10mr7193325vsa.49.1632885970389; Tue, 28 Sep 2021 20:26:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yunfang Tai Date: Wed, 29 Sep 2021 11:25:59 +0800 Message-ID: Subject: Re: [BUG] The usage of memory cgroup is not consistent with processes when using THP To: Yang Shi Cc: Johannes Weiner , Hugh Dickins , Tejun Heo , Cgroups , Linux MM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 0EC553000100 X-Stat-Signature: 8ch47y6hto49ownkcdp9xqxt33neqd48 Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GlTJjNKA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf09.hostedemail.com: domain of yunfangtai09@gmail.com designates 209.85.217.44 as permitted sender) smtp.mailfrom=yunfangtai09@gmail.com X-HE-Tag: 1632885970-458799 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Yang Shi =E4=BA=8E2021=E5=B9=B49=E6=9C=8829=E6=97=A5= =E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=886:14=E5=86=99=E9=81=93=EF=BC=9A > I don't quite get what exactly you want to manage. If you want to get > rid of the disparity, I don't have good idea other than splitting THP > in place instead of using deferred split. But AFAIK it is not quite > feasible due to some locking problems. I get it. Thank you for your reply!