On Fri, May 12, 2023 at 11:27 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > > As said before, please don't try to do weird runtime checks based > on the scatterlist. What you have works for now, but there are > plans to repalce the page + offset tuple in the scatterlist with > just a phys_addr_t. And with that your "clever" scheme will break > instantly. > Xuan, I think we probably need to go back to your original method that is having a dedicated flag and helper for pre mapped buffers. Thanks _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization