diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-03-26 22:52:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-27 22:45:26 -0400 |
commit | 09e79d6ea65d66e0a5e9ba76865320e74832dc7c (patch) | |
tree | 1ab4db0a522c5df78fff98d55f67cdbe65bce0c5 /include/linux | |
parent | 819a100846295461bc0f1bfcb8e5ab11c1bc4cdb (diff) | |
download | op-kernel-dev-09e79d6ea65d66e0a5e9ba76865320e74832dc7c.zip op-kernel-dev-09e79d6ea65d66e0a5e9ba76865320e74832dc7c.tar.gz |
eql: dont rely on HZ=100
HZ is more likely to be 1000 these days.
timer handlers are run from softirq, no need to disable bh
skb priority 1 is TC_PRIO_FILLER
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/if_eql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/if_eql.h b/include/linux/if_eql.h index 79c4f26..18a5d02 100644 --- a/include/linux/if_eql.h +++ b/include/linux/if_eql.h @@ -22,7 +22,7 @@ #define EQL_DEFAULT_SLAVE_PRIORITY 28800 #define EQL_DEFAULT_MAX_SLAVES 4 #define EQL_DEFAULT_MTU 576 -#define EQL_DEFAULT_RESCHED_IVAL 100 +#define EQL_DEFAULT_RESCHED_IVAL HZ #define EQL_ENSLAVE (SIOCDEVPRIVATE) #define EQL_EMANCIPATE (SIOCDEVPRIVATE + 1) |