Re: [PATCH v4 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

From: Radim KrÄmÃÅ
Date: Tue Jan 26 2016 - 13:59:19 EST


2016-01-25 16:53+0800, Feng Wu:
> Use vector-hashing to deliver lowest-priority interrupts, As an
> example, modern Intel CPUs in server platform use this method to
> handle lowest-priority interrupts.
>
> Signed-off-by: Feng Wu <feng.wu@xxxxxxxxx>
> ---

With any proposed resolution of BUG_ON in kvm_vector_to_index,

Reviewed-by: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>

> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
> @@ -123,6 +123,9 @@ module_param(tsc_tolerance_ppm, uint, S_IRUGO | S_IWUSR);
> +bool __read_mostly vector_hashing = true;

(Module param can be static.)

> +module_param(vector_hashing, bool, S_IRUGO);