diff options
| author | Pedro Demarchi Gomes <pedrodemargomes@gmail.com> | 2025-10-04 00:02:10 -0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-10-20 06:30:28 -0700 |
| commit | 765fcd7c0753cc62d0a839cbd8355cfaf57a7eb6 (patch) | |
| tree | b7185c3066c5060169a5e97832ff72e64628e2fd /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 3f1078a445d9038532a572ff643a826ed9335259 (diff) | |
KVM: guest_memfd: use folio_nr_pages() instead of shift operation
folio_nr_pages() is a faster helper function to get the number of pages when
NR_PAGES_IN_LARGE_FOLIO is enabled.
Signed-off-by: Pedro Demarchi Gomes <pedrodemargomes@gmail.com>
Link: https://lore.kernel.org/r/20251004030210.49080-1-pedrodemargomes@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions