aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorTal Zussman <tz2294@columbia.edu>2026-10-31 13:45:35 -0400
committerMichael S. Tsirkin <mst@redhat.com>2026-11-02 09:07:00 -0500
commit73d135601d3b533985a65748c0278ba3cfe48290 (patch)
treedb589c0e1a6035025bf5c84871f1ce0661ad5131 /scripts/Makefile.thinlto
parentvhost-vdpa: fix pinned page leak in vhost_vdpa_pa_map() error path (diff)
vhost-vdpa: unpin mappings by range
vhost_vdpa_pa_unmap() unpins each mapping a page at a time, dirtying each page first if the mapping is writable. Each mapping is physically contiguous, so use unpin_user_page_range_dirty_lock() instead, which marks every folio dirty once and drops its pins in one go. Do the same for the pages left pinned in the vhost_vdpa_pa_map() error path. This removes the last use of set_page_dirty_lock() in vhost. Signed-off-by: Tal Zussman <tz2294@columbia.edu> Message-ID: <20261031-vhost-vdpa-unpin-v1-2-94ffc9683256@columbia.edu> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions