Messages in this thread | | | From | Justin He <> | Subject | RE: [PATCH v2 2/2] KVM: arm64: Add memcg accounting to KVM allocations | Date | Wed, 13 Oct 2021 09:01:24 +0000 |
| |
Hi Marc
> -----Original Message----- > From: Oliver Upton <oupton@google.com> > Sent: Monday, September 13, 2021 8:21 PM > To: Justin He <Justin.He@arm.com> > Cc: Marc Zyngier <maz@kernel.org>; James Morse <James.Morse@arm.com>; > Alexandru Elisei <Alexandru.Elisei@arm.com>; Suzuki Poulose > <Suzuki.Poulose@arm.com>; Xiaoming Ni <nixiaoming@huawei.com>; Lorenzo > Pieralisi <Lorenzo.Pieralisi@arm.com>; Kees Cook <keescook@chromium.org>; > Catalin Marinas <Catalin.Marinas@arm.com>; Nick Desaulniers > <ndesaulniers@google.com>; linux-kernel@vger.kernel.org; Liu Shixin > <liushixin2@huawei.com>; Sami Tolvanen <samitolvanen@google.com>; Will > Deacon <will@kernel.org>; kvmarm@lists.cs.columbia.edu; linux-arm- > kernel@lists.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@google.com> Kindly ping for the whole series. 😉
-- Cheers, Justin (Jia He)
| |