Displaying 1 result from an estimated 1 matches for "31837a5".
Did you mean:
318375
2020 Sep 15
0
[PATCH] vhost: reduce stack usage in log_used
...024 bytes
>
> Signed-off-by: Li Wang <li.wang at windriver.com>
> ---
> drivers/vhost/vhost.c | 2 +-
> drivers/vhost/vhost.h | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
> index b45519c..31837a5
> --- a/drivers/vhost/vhost.c
> +++ b/drivers/vhost/vhost.c
> @@ -1884,7 +1884,7 @@ static int log_write_hva(struct vhost_virtqueue *vq, u64 hva, u64 len)
>
> static int log_used(struct vhost_virtqueue *vq, u64 used_offset, u64 len)
> {
> - struct iovec iov[64];
> + s...