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 F2773C433F5 for ; Sun, 17 Oct 2021 10:30:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC25C61040 for ; Sun, 17 Oct 2021 10:30:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241891AbhJQKc3 (ORCPT ); Sun, 17 Oct 2021 06:32:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:48146 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241881AbhJQKc1 (ORCPT ); Sun, 17 Oct 2021 06:32:27 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F3D3B6103B; Sun, 17 Oct 2021 10:30:17 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=hot-poop.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mc3Ql-00HJIb-R3; Sun, 17 Oct 2021 11:30:15 +0100 From: Marc Zyngier To: Suzuki K Poulose , James Morse , Alexandru Elisei , Jia He Cc: Liu Shixin , Catalin Marinas , Eric Auger , Kees Cook , kvmarm@lists.cs.columbia.edu, Nick Desaulniers , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Zenghui Yu , Xiaoming Ni , Will Deacon , Sami Tolvanen Subject: Re: [PATCH v2 0/2] Add memcg accounting to Arm KVM Date: Sun, 17 Oct 2021 11:30:12 +0100 Message-Id: <163446660410.1612145.1235091428882070255.b4-ty@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210907123112.10232-1-justin.he@arm.com> References: <20210907123112.10232-1-justin.he@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: suzuki.poulose@arm.com, james.morse@arm.com, alexandru.elisei@arm.com, justin.he@arm.com, liushixin2@huawei.com, catalin.marinas@arm.com, eric.auger@redhat.com, keescook@chromium.org, kvmarm@lists.cs.columbia.edu, ndesaulniers@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, lorenzo.pieralisi@arm.com, yuzenghui@huawei.com, nixiaoming@huawei.com, will@kernel.org, samitolvanen@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Sep 2021 20:31:10 +0800, Jia He wrote: > Inspired by what had been done by X86 kvm and kvm common codes, it would > be better to make arm64 kvm consistent with them. > > The memory allocations of VM scope should be charged into VM process. > Hence change the allocation flag from GFP_KERNEL to GFP_KERNEL_ACCOUNT. > > There remain some GFP_KERNEL unchanged since they are global allocations, > instead of VM scope. > > [...] Applied to next, thanks! [1/2] KVM: arm64: vgic: Add memcg accounting to vgic allocations commit: 3ef231670b9e9001316a426e794b2c74b8f6b4f6 [2/2] KVM: arm64: Add memcg accounting to KVM allocations commit: 115bae923ac8bb29ee635e0ed6b4d5a3eec9371e Cheers, M. -- Without deviation from the norm, progress is not possible.