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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7dabd2a6-bc48-6ada-f2f1-f9e30370be2f@redhat.com>
Date:   Fri, 8 Apr 2022 01:03:57 +0200
From:   Paolo Bonzini <pbonzini@...hat.com>
To:     Kai Huang <kai.huang@...el.com>, isaku.yamahata@...el.com,
        kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     isaku.yamahata@...il.com, Jim Mattson <jmattson@...gle.com>,
        erdemaktas@...gle.com, Connor Kuehl <ckuehl@...hat.com>,
        Sean Christopherson <seanjc@...gle.com>
Subject: Re: [RFC PATCH v5 047/104] KVM: x86/mmu: add a private pointer to
 struct kvm_mmu_page

On 4/8/22 00:53, Kai Huang wrote:
>>
> Do you mean below reply?
> 
> "I think use of kvm_gfn_stolen_mask() should be minimized anyway.  I
> would rename it to to kvm_{gfn,gpa}_private_mask and not return bool."
> 
> I also mean we should not use kvm_gfn_stolen_mask().  I don't have opinion on
> the new name.  Perhaps kvm_is_protected_vm() is my preference though.

But this is one of the case where it would survive, even with the 
changed name.

Paolo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ