> vhost_scsi_map_to_sgl() pins guest buffer pages via
> iov_iter_get_pages2() (FOLL_GET), which does not prevent
> copy-on-write or page migration while DMA is in flight. Switch to
> iov_iter_extract_pages() (FOLL_PIN), which does.
> 
> Cc: Jason Wang <[email protected]>
> Cc: Mike Christie <[email protected]>
> Cc: John Hubbard <[email protected]>
> Cc: Michael S. Tsirkin <[email protected]>
> Cc: [email protected]
> Signed-off-by: Karthikeyan KS <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=1


Reply via email to