aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorLi Zhe <lizhe.67@bytedance.com>2025-08-14 14:47:12 +0800
committerAlex Williamson <alex.williamson@redhat.com>2025-10-06 11:21:26 -0600
commitd10872050ffeda8c3bdc08f3376bb49b34b4e643 (patch)
treedd91c190895b72d7b17e1bd8aef4849bfb847686 /scripts/bpf_doc.py
parentvfio/type1: optimize vfio_pin_pages_remote() (diff)
downloadlinux-d10872050ffeda8c3bdc08f3376bb49b34b4e643.tar.gz
linux-d10872050ffeda8c3bdc08f3376bb49b34b4e643.zip
vfio/type1: batch vfio_find_vpfn() in function vfio_unpin_pages_remote()
The function vpfn_pages() can help us determine the number of vpfn nodes on the vpfn rb tree within a specified range. This allows us to avoid searching for each vpfn individually in the function vfio_unpin_pages_remote(). This patch batches the vfio_find_vpfn() calls in function vfio_unpin_pages_remote(). Signed-off-by: Li Zhe <lizhe.67@bytedance.com> Link: https://lore.kernel.org/r/20250814064714.56485-4-lizhe.67@bytedance.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions