Re: [PATCH] KVM: use folio_nr_pages() instead of shift operation

From: Sean Christopherson

Date: Wed Oct 15 2025 - 14:05:34 EST


On Sat, 04 Oct 2025 00:02:10 -0300, Pedro Demarchi Gomes wrote:
> folio_nr_pages() is a faster helper function to get the number of pages when
> NR_PAGES_IN_LARGE_FOLIO is enabled.

Applied to kvm-x86 gmem, thanks!

[1/1] KVM: use folio_nr_pages() instead of shift operation
https://github.com/kvm-x86/linux/commit/fa492ac7fb04

--
https://github.com/kvm-x86/linux/tree/next