Re: [PATCH] kvm: x86: simplify kvm_vector_to_index()
From: Yury Norov
Date: Wed Aug 20 2025 - 09:45:34 EST
On Tue, Aug 19, 2025 at 04:12:11PM -0700, Sean Christopherson wrote:
> On Sat, 19 Jul 2025 21:58:45 -0400, Yury Norov wrote:
> > Use find_nth_bit() and make the function almost a one-liner.
>
> Applied to kvm-x86 misc, thanks!
>
> P.S. I'm amazed you could decipher the intent of the code. Even with your
> patch, it took me 10+ minutes to understand the "logic".
Thanks Sean. :)
> [1/1] kvm: x86: simplify kvm_vector_to_index()
> https://github.com/kvm-x86/linux/commit/cc63f918a215
>
> --
> https://github.com/kvm-x86/linux/tree/next