lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 10 Aug 2021 14:20:15 +0100 From: Will Deacon <will@...nel.org> To: Anshuman Khandual <anshuman.khandual@....com> Cc: linux-arm-kernel@...ts.infradead.org, Marc Zyngier <maz@...nel.org>, James Morse <james.morse@....com>, Alexandru Elisei <alexandru.elisei@....com>, Suzuki K Poulose <suzuki.poulose@....com>, Catalin Marinas <catalin.marinas@....com>, kvmarm@...ts.cs.columbia.edu, linux-kernel@...r.kernel.org Subject: Re: [PATCH 1/5] KVM: arm64: Drop direct PAGE_[SHIFT|SIZE] usage as page size On Tue, Aug 10, 2021 at 12:32:37PM +0530, Anshuman Khandual wrote: > All instances here could just directly test against CONFIG_ARM64_XXK_PAGES > instead of evaluating via PAGE_SHIFT or PAGE_SIZE. With this change, there > will be no such usage left. > > Cc: Marc Zyngier <maz@...nel.org> > Cc: James Morse <james.morse@....com> > Cc: Alexandru Elisei <alexandru.elisei@....com> > Cc: Suzuki K Poulose <suzuki.poulose@....com> > Cc: Catalin Marinas <catalin.marinas@....com> > Cc: Will Deacon <will@...nel.org> > Cc: linux-arm-kernel@...ts.infradead.org > Cc: kvmarm@...ts.cs.columbia.edu > Cc: linux-kernel@...r.kernel.org > Signed-off-by: Anshuman Khandual <anshuman.khandual@....com> > --- > arch/arm64/kvm/hyp/pgtable.c | 6 +++--- > arch/arm64/mm/mmu.c | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) Why is this better? WIll
Powered by blists - more mailing lists