Re: [PATCH net] virtio-net: fix pages leaking when building skb in big mode

2021-09-17 Thread Xuan Zhuo
On Fri, 17 Sep 2021 16:34:06 +0800, Jason Wang wrote: > We try to use build_skb() if we had sufficient tailroom. But we forget > to release the unused pages chained via private in big mode which will > leak pages. Fixing this by release the pages after building the skb in > big mode. > > Cc: Xuan

Re: [Virtio-fs] [PATCH v4 0/8] fuse,virtiofs: support per-file DAX

2021-09-17 Thread JeffleXu
Hi Vivek, Miklos, On 9/16/21 4:21 PM, JeffleXu wrote: > Hi, I add some performance statistics below. > > > On 8/17/21 8:40 PM, Vivek Goyal wrote: >> On Tue, Aug 17, 2021 at 10:32:14AM +0100, Dr. David Alan Gilbert wrote: >>> * Miklos Szeredi (mik...@szeredi.hu) wrote: On Tue, 17 Aug 2021

Re: [PATCH v2 4/5] vdpa: add new vdpa attribute VDPA_ATTR_DEV_F_VERSION_1

2021-09-17 Thread Jason Wang
On Fri, Sep 17, 2021 at 10:35 AM Wu Zongyong wrote: > > On Thu, Sep 16, 2021 at 09:05:58AM +0800, Jason Wang wrote: > > On Wed, Sep 15, 2021 at 7:09 PM Michael S. Tsirkin wrote: > > > > > > On Wed, Sep 15, 2021 at 04:06:57PM +0800, Jason Wang wrote: > > > > On Wed, Sep 15, 2021 at 3:38 PM

[PATCH net] virtio-net: fix pages leaking when building skb in big mode

2021-09-17 Thread Jason Wang
We try to use build_skb() if we had sufficient tailroom. But we forget to release the unused pages chained via private in big mode which will leak pages. Fixing this by release the pages after building the skb in big mode. Cc: Xuan Zhuo Fixes: fb32856b16ad ("virtio-net: page_to_skb() use

Re: [PATCH 1/8] fork: add helper to clone a process

2021-09-17 Thread Christoph Hellwig
On Fri, Sep 17, 2021 at 09:44:40AM +0200, Christian Brauner wrote: > > generally want a printf-like varargs caling conventions. I'd also > > much prefer to hide as much as possible in the actual helper. That is > > build a helper that gets the name, a flag to ignore the singals etc > > instead

Re: [PATCH 1/8] fork: add helper to clone a process

2021-09-17 Thread Christoph Hellwig
On Thu, Sep 16, 2021 at 04:20:44PM -0500, Mike Christie wrote: > The vhost layer has similar requirements as io_uring where its worker > threads need to access the userspace thread's memory, want to inherit the > parents's cgroups and namespaces, and be checked against the parent's > RLIMITs.

Re: [PATCH 1/1] virtio/s390: fix vritio-ccw device teardown

2021-09-17 Thread Cornelia Huck
On Thu, Sep 16 2021, Halil Pasic wrote: > On Thu, 16 Sep 2021 10:59:15 +0200 > Cornelia Huck wrote: > >> > Since commit 48720ba56891 ("virtio/s390: use DMA memory for ccw I/O and >> > classic notifiers") we were supposed to make sure that >> > virtio_ccw_release_dev() completes before the ccw

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-09-17 Thread Laurent Vivier
On 17/09/2021 00:58, Michael S. Tsirkin wrote: On Thu, Sep 16, 2021 at 10:52:59AM +0200, Laurent Vivier wrote: On 13/09/2021 10:25, Alexander Potapenko wrote: Hi Laurent, I took the latest kernel (5.15-rc1, 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f) and a slightly modified config from syzbot