Re: [RFC 03/12] KVM/VMX: Use the new host mapping API for virtual_apic_page

2018-02-09 Thread Jim Mattson
On Fri, Feb 9, 2018 at 4:15 AM, KarimAllah Ahmed wrote: > Can you elaborate a bit? I do not really understand what is the concern. I can't find the posting that gave me this impression. The only thing I can find is the following in Documentation/vm/highmem.txt: (*)

Re: [RFC 03/12] KVM/VMX: Use the new host mapping API for virtual_apic_page

2018-02-09 Thread Jim Mattson
On Fri, Feb 9, 2018 at 4:15 AM, KarimAllah Ahmed wrote: > Can you elaborate a bit? I do not really understand what is the concern. I can't find the posting that gave me this impression. The only thing I can find is the following in Documentation/vm/highmem.txt: (*) kmap(). This permits a

Re: [RFC 03/12] KVM/VMX: Use the new host mapping API for virtual_apic_page

2018-02-09 Thread KarimAllah Ahmed
On 02/05/2018 11:26 PM, Jim Mattson wrote: On Mon, Feb 5, 2018 at 10:48 AM KarimAllah Ahmed wrote: @@ -5264,9 +5264,8 @@ static void vmx_complete_nested_posted_interrupt(struct kvm_vcpu *vcpu) max_irr = find_last_bit((unsigned long *)vmx->nested.pi_desc->pir,

Re: [RFC 03/12] KVM/VMX: Use the new host mapping API for virtual_apic_page

2018-02-09 Thread KarimAllah Ahmed
On 02/05/2018 11:26 PM, Jim Mattson wrote: On Mon, Feb 5, 2018 at 10:48 AM KarimAllah Ahmed wrote: @@ -5264,9 +5264,8 @@ static void vmx_complete_nested_posted_interrupt(struct kvm_vcpu *vcpu) max_irr = find_last_bit((unsigned long *)vmx->nested.pi_desc->pir, 256); if

Re: [RFC 03/12] KVM/VMX: Use the new host mapping API for virtual_apic_page

2018-02-05 Thread Jim Mattson
On Mon, Feb 5, 2018 at 10:48 AM KarimAllah Ahmed wrote: > @@ -5264,9 +5264,8 @@ static void vmx_complete_nested_posted_interrupt(struct kvm_vcpu *vcpu) > max_irr = find_last_bit((unsigned long *)vmx->nested.pi_desc->pir, 256); > if (max_irr != 256) { > -

Re: [RFC 03/12] KVM/VMX: Use the new host mapping API for virtual_apic_page

2018-02-05 Thread Jim Mattson
On Mon, Feb 5, 2018 at 10:48 AM KarimAllah Ahmed wrote: > @@ -5264,9 +5264,8 @@ static void vmx_complete_nested_posted_interrupt(struct kvm_vcpu *vcpu) > max_irr = find_last_bit((unsigned long *)vmx->nested.pi_desc->pir, 256); > if (max_irr != 256) { > -