summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorbrenohl@br.ibm.com <brenohl@br.ibm.com>2011-09-26 12:11:03 +0200
committerDavid S. Miller <davem@davemloft.net>2011-09-27 06:47:00 +0200
commit2aefcad8666e0c7c1aff51c0dacc164a1b681895 (patch)
treecbe017867792c34285bbf0e1bd9cb0687e985936 /init
parentdp83640: add time stamp insertion for sync messages (diff)
downloadlinux-2aefcad8666e0c7c1aff51c0dacc164a1b681895.tar.xz
linux-2aefcad8666e0c7c1aff51c0dacc164a1b681895.zip
ehea: Remove sleep at .ndo_get_stats
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@br.ibm.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions