[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1317068935.2796.12.camel@edumazet-laptop>
Date: Mon, 26 Sep 2011 22:28:55 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: brenohl@...ibm.com
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] ehea: Remove sleep at .ndo_get_stats
Le lundi 26 septembre 2011 à 17:11 -0300, brenohl@...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 <brenohl@...ibm.com>
> ---
Seems good, thanks
Acked-by: Eric Dumazet <eric.dumazet@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists