[PATCH net-next v3 1/4] net: vhost: lock the vqs one by one

2018-06-29 Thread xiangxia . m . yue
From: Tonghao Zhang This patch changes the way that lock all vqs at the same, to lock them one by one. It will be used for next patch to avoid the deadlock. Signed-off-by: Tonghao Zhang --- drivers/vhost/vhost.c | 24 +++- 1 file changed, 7 insertions(+), 17 deletions(-) d

Re: [PATCH net-next v3 1/4] net: vhost: lock the vqs one by one

2018-07-01 Thread Jason Wang
On 2018年06月30日 14:33, xiangxia.m@gmail.com wrote: From: Tonghao Zhang This patch changes the way that lock all vqs at the same, to lock them one by one. It will be used for next patch to avoid the deadlock. Signed-off-by: Tonghao Zhang --- drivers/vhost/vhost.c | 24 +++---