> From: "Michael S. Tsirkin" <[email protected]>
> 
> vhost had a TODO to replace page pinning with a version
> of set_bit that works on userspace memory, since forever.
> 
> It is really best to avoid GUP on fast path entirely.
> Implement set_bit_user and use it in vhost, to do just that.
> 
> Should not be too hard for non-x86 too.
> 
> Reported-by: Khan Zhao <[email protected]>
> Link: 
> https://lore.kernel.org/all/[email protected]/
> Signed-off-by: Michael S. Tsirkin <[email protected]>
> [Khan: declare efault with __label__ so it is local to the macro]
> Signed-off-by: Khan Zhao <[email protected]>

Sashiko has reviewed this patch and found no issues.

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


Reply via email to