From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH v6 4/4] KVM: arm64/mmu: count KVM s2 mmu usage in secondary pagetable stats Date: Wed, 29 Jun 2022 11:30:31 +0100 Message-ID: <87zghv2248.wl-maz@kernel.org> References: <20220628220938.3657876-1-yosryahmed@google.com> <20220628220938.3657876-5-yosryahmed@google.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656498634; bh=FWingHSiicpAR3nuU10lYv4eU+baMLYlpSa5drYSn54=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MoC+YDJ3ltoGd49syVpPFS76B0w4Ai9FjIw+k7zrNavvqWXc9B14SZ/kTf1KbNIdL ZdjpELi4vH8X2q86nonqL0vvy+Mwhx9gOKQicN2pFXoKTlFRVMcdweCJQp3xC41ewU DWNpHzh3/akaC66ltPyjUfUFd/ApRyCibrC4be03PUlkxMTALSCMTGh0ET+eroEBDN foK6cJjRES98IZ+5jFtKn6947tsOrDbDev1WAaKaX54TCPY8xw5OB1SbZ3tVoSgmYW Zv07anQ2bUq4PQ8a2gQ8gSfq6Y71asIa4qNDuGC+ydS+ncnSNpSWYilQwESJsnmul2 Q/ecmAo3pNGEw== In-Reply-To: <20220628220938.3657876-5-yosryahmed@google.com> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Yosry Ahmed Cc: Tejun Heo , Johannes Weiner , Zefan Li , James Morse , Alexandru Elisei , Suzuki K Poulose , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Andrew Morton , Michal Hocko , Roman Gushchin , Shakeel Butt , Oliver Upton , Huang@google.com, Shaoqin , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, On Tue, 28 Jun 2022 23:09:38 +0100, Yosry Ahmed wrote: > > Count the pages used by KVM in arm64 for stage2 mmu in memory stats > under secondary pagetable stats (e.g. "SecPageTables" in /proc/meminfo) > to give better visibility into the memory consumption of KVM mmu in a > similar way to how normal user page tables are accounted. > > Signed-off-by: Yosry Ahmed > Reviewed-by: Oliver Upton Reviewed-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.