[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM6PR08MB437604FBA3C47C4D70D2A9CDF7B79@AM6PR08MB4376.eurprd08.prod.outlook.com>
Date: Wed, 13 Oct 2021 09:01:24 +0000
From: Justin He <Justin.He@....com>
To: Marc Zyngier <maz@...nel.org>
CC: James Morse <James.Morse@....com>,
Alexandru Elisei <Alexandru.Elisei@....com>,
Suzuki Poulose <Suzuki.Poulose@....com>,
Oliver Upton <oupton@...gle.com>,
Xiaoming Ni <nixiaoming@...wei.com>,
Lorenzo Pieralisi <Lorenzo.Pieralisi@....com>,
Kees Cook <keescook@...omium.org>,
Catalin Marinas <Catalin.Marinas@....com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Liu Shixin <liushixin2@...wei.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Will Deacon <will@...nel.org>,
"kvmarm@...ts.cs.columbia.edu" <kvmarm@...ts.cs.columbia.edu>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, nd <nd@....com>
Subject: RE: [PATCH v2 2/2] KVM: arm64: Add memcg accounting to KVM
allocations
Hi Marc
> -----Original Message-----
> From: Oliver Upton <oupton@...gle.com>
> Sent: Monday, September 13, 2021 8:21 PM
> To: Justin He <Justin.He@....com>
> Cc: Marc Zyngier <maz@...nel.org>; James Morse <James.Morse@....com>;
> Alexandru Elisei <Alexandru.Elisei@....com>; Suzuki Poulose
> <Suzuki.Poulose@....com>; Xiaoming Ni <nixiaoming@...wei.com>; Lorenzo
> Pieralisi <Lorenzo.Pieralisi@....com>; Kees Cook <keescook@...omium.org>;
> Catalin Marinas <Catalin.Marinas@....com>; Nick Desaulniers
> <ndesaulniers@...gle.com>; linux-kernel@...r.kernel.org; Liu Shixin
> <liushixin2@...wei.com>; Sami Tolvanen <samitolvanen@...gle.com>; Will
> Deacon <will@...nel.org>; kvmarm@...ts.cs.columbia.edu; linux-arm-
> kernel@...ts.infradead.org
> Subject: Re: [PATCH v2 2/2] KVM: arm64: Add memcg accounting to KVM
> allocations
>
[...]
> > Do you mean kvm_hyp_zalloc_page() here?
> > Seems kvm_hyp_zalloc_page() is in both global and VM scopes.
>
> Doh! kvm_hyp_zalloc_page() is only for the hyp's page tables, hence I
> believe your patch is correct as it stands. As such:
>
> Reviewed-by: Oliver Upton <oupton@...gle.com>
Kindly ping for the whole series. 😉
--
Cheers,
Justin (Jia He)
Powered by blists - more mailing lists