Thread (3 messages) flat view 3 messages, 2 authors, 2016-08-10

Re: [PATCH v4 1/1] Add timer to handle OOM situations

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2016-08-10 18:22:36

On Thu, Aug 04, 2016 at 04:09:11PM +0200, ggarcia@abra.uab.cat wrote:
From: Gerard Garcia <redacted>

Set up a rx timer to avoid packets being discarded when there is not 
available memory in the host.

Signed-off-by: Gerard Garcia <redacted>

---
v4:
 * Fix style.

v3:
 * Avoid race condition when freeing timer.

v2:
* Use of ERR_PTR/PTR_ERR/IS_ERR
* Timer cleaned on device release.
* Do not process more packets on error.

 drivers/vhost/vsock.c | 49 ++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 40 insertions(+), 9 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help