Re: [Qemu-devel] [PATCH v9 2/7] virtio-pmem: Add virtio pmem driver

2019-05-17 Thread Jakub StaroĊ„
On 5/16/19 10:35 PM, Pankaj Gupta wrote: > Can I take it your reviewed/acked-by? or tested-by tag? for the virtio patch > :)I don't feel that I have enough expertise to give the reviewed-by tag, but > you can take my acked-by + tested-by. Acked-by: Jakub Staron Tested-by: Jakub Staron No kern

Re: [PATCH v3] vsock/virtio: free packets during the socket release

2019-05-17 Thread David Miller
From: Stefano Garzarella Date: Fri, 17 May 2019 16:45:43 +0200 > When the socket is released, we should free all packets > queued in the per-socket list in order to avoid a memory > leak. > > Signed-off-by: Stefano Garzarella Applied and queued up for -stable. _

Re: [PATCH v4 0/4] vmw_balloon: Compaction and shrinker support

2019-05-17 Thread Greg Kroah-Hartman
On Fri, May 17, 2019 at 05:57:22PM +, Nadav Amit wrote: > > On May 17, 2019, at 10:24 AM, Greg Kroah-Hartman > > wrote: > > > > On Fri, May 17, 2019 at 05:10:23PM +, Nadav Amit wrote: > >>> On May 3, 2019, at 6:25 PM, Nadav Amit wrote: > >>> > On Apr 25, 2019, at 4:54 AM, Nadav Am

Re: [PATCH v4 0/4] vmw_balloon: Compaction and shrinker support

2019-05-17 Thread Nadav Amit
> On May 17, 2019, at 10:24 AM, Greg Kroah-Hartman > wrote: > > On Fri, May 17, 2019 at 05:10:23PM +, Nadav Amit wrote: >>> On May 3, 2019, at 6:25 PM, Nadav Amit wrote: >>> On Apr 25, 2019, at 4:54 AM, Nadav Amit wrote: VMware balloon enhancements: adding support for memo

Re: [PATCH v4 0/4] vmw_balloon: Compaction and shrinker support

2019-05-17 Thread Greg Kroah-Hartman
On Fri, May 17, 2019 at 05:10:23PM +, Nadav Amit wrote: > > On May 3, 2019, at 6:25 PM, Nadav Amit wrote: > > > >> On Apr 25, 2019, at 4:54 AM, Nadav Amit wrote: > >> > >> VMware balloon enhancements: adding support for memory compaction, > >> memory shrinker (to prevent OOM) and splitting

Re: [PATCH v4 0/4] vmw_balloon: Compaction and shrinker support

2019-05-17 Thread Nadav Amit
> On May 3, 2019, at 6:25 PM, Nadav Amit wrote: > >> On Apr 25, 2019, at 4:54 AM, Nadav Amit wrote: >> >> VMware balloon enhancements: adding support for memory compaction, >> memory shrinker (to prevent OOM) and splitting of refused pages to >> prevent recurring inflations. >> >> Patches 1-2:

[PATCH v3] vsock/virtio: free packets during the socket release

2019-05-17 Thread Stefano Garzarella
When the socket is released, we should free all packets queued in the per-socket list in order to avoid a memory leak. Signed-off-by: Stefano Garzarella --- This patch was in the series "[PATCH v2 0/8] vsock/virtio: optimizations to increase the throughput" [1]. As Stefan suggested, I'm sending i

Re: [PATCH 0/2] Add BO reservation to GEM VRAM pin/unpin/push_to_system

2019-05-17 Thread Gerd Hoffmann
Hi, > It turns out that the bochs and vbox drivers automatically reserved and > unreserved the BO from within their pin and unpin functions. The other > drivers; ast, hibmc and mgag200; performed reservation explicitly. With the > GEM VRAM conversion, automatic BO reservation within pin and unpi

Re: [PATCH V2 0/4] Prevent vhost kthread from hogging CPU

2019-05-17 Thread Stefan Hajnoczi
On Fri, May 17, 2019 at 12:29:48AM -0400, Jason Wang wrote: > Hi: > > This series try to prevent a guest triggerable CPU hogging through > vhost kthread. This is done by introducing and checking the weight > after each requrest. The patch has been tested with reproducer of > vsock and virtio-net.

Re: [PATCH RESEND] vsock/virtio: Initialize core virtio vsock before registering the driver

2019-05-17 Thread Stefan Hajnoczi
On Thu, May 16, 2019 at 01:51:07PM -0700, Jorge E. Moreira wrote: > Avoid a race in which static variables in net/vmw_vsock/af_vsock.c are > accessed (while handling interrupts) before they are initialized. > > [4.201410] BUG: unable to handle kernel paging request at ffe8 > [4

Re: [PATCH v2 2/8] vsock/virtio: free packets during the socket release

2019-05-17 Thread Stefano Garzarella
On Thu, May 16, 2019 at 04:32:18PM +0100, Stefan Hajnoczi wrote: > On Fri, May 10, 2019 at 02:58:37PM +0200, Stefano Garzarella wrote: > > When the socket is released, we should free all packets > > queued in the per-socket list in order to avoid a memory > > leak. > > > > Signed-off-by: Stefano G

Re: [PATCH v2 1/8] vsock/virtio: limit the memory used per-socket

2019-05-17 Thread Stefano Garzarella
On Thu, May 16, 2019 at 04:25:33PM +0100, Stefan Hajnoczi wrote: > On Fri, May 10, 2019 at 02:58:36PM +0200, Stefano Garzarella wrote: > > +struct virtio_vsock_buf { > > Please add a comment describing the purpose of this struct and to > differentiate its use from struct virtio_vsock_pkt. > Sure