Thread (10 messages) 10 messages, 3 authors, 2011-09-27

Re: [PATCH] ehea: Remove sleep at .ndo_get_stats

flat view

From: Eric Dumazet <hidden>
Date: 2011-09-26 20:29:02

Le lundi 26 septembre 2011 à 17:11 -0300, brenohl@br.ibm.com a écrit :
Currently ehea ndo_get_stats can sleep in two places, in a hcall
and in a GFP_KERNEL alloc, which is not correct.
This patch creates a delayed workqueue that grabs the information each 1
sec from the hardware, and place it into the device structure, so that,
.ndo_get_stats quickly returns the device structure statistics block.

Signed-off-by: Breno Leitao <redacted>
---
Seems good, thanks

Acked-by: Eric Dumazet <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help