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: <175564479298.3067605.13013988646799363997.b4-ty@google.com>
Date: Tue, 19 Aug 2025 16:12:11 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>, 
	Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>, 
	Dave Hansen <dave.hansen@...ux.intel.com>, "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org, 
	kvm@...r.kernel.org, linux-kernel@...r.kernel.org, 
	Yury Norov <yury.norov@...il.com>
Subject: Re: [PATCH] kvm: x86: simplify kvm_vector_to_index()

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".

[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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ