diff options
author | 2009-01-29 18:00:07 +0000 | |
---|---|---|
committer | 2009-01-30 14:06:33 -0800 | |
commit | 1974cc205e63cec4a17a6b3fca31fa4240ded77e (patch) | |
tree | d658cbc56064d86f3f57e786b4ebcf33346188bd /include/linux/init_task.h | |
parent | sfc: SFX7101/SFT9001: Fix AN advertisements (diff) | |
download | linux-dev-1974cc205e63cec4a17a6b3fca31fa4240ded77e.tar.xz linux-dev-1974cc205e63cec4a17a6b3fca31fa4240ded77e.zip |
sfc: Replace stats_enabled flag with a disable count
Currently we use a spin-lock to serialise statistics fetches and also
to inhibit them for short periods of time, plus a flag to
enable/disable statistics fetches for longer periods of time, during
online reset. This was apparently insufficient to deal with the several
reasons for stats being disabled.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions