Re: [RFC PATCH V2 2/5] vhost: fine grain userspace memory accessors

2019-03-06 Thread Jason Wang
On 2019/3/6 下午6:45, Christophe de Dinechin wrote: On 6 Mar 2019, at 08:18, Jason Wang wrote: This is used to hide the metadata address from virtqueue helpers. This will allow to implement a vmap based fast accessing to metadata. Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 94 +++

Re: [RFC PATCH V2 2/5] vhost: fine grain userspace memory accessors

2019-03-06 Thread Christophe de Dinechin
> On 6 Mar 2019, at 08:18, Jason Wang wrote: > > This is used to hide the metadata address from virtqueue helpers. This > will allow to implement a vmap based fast accessing to metadata. > > Signed-off-by: Jason Wang > --- > drivers/vhost/vhost.c | 94

[RFC PATCH V2 2/5] vhost: fine grain userspace memory accessors

2019-03-05 Thread Jason Wang
This is used to hide the metadata address from virtqueue helpers. This will allow to implement a vmap based fast accessing to metadata. Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 94 +-- 1 file changed, 77 insertions(+), 17 deletions(-)