]> err.no Git - linux-2.6/commit
[NET_SCHED]: Show timer resolution instead of clock resolution in /proc/net/psched
authorPatrick McHardy <kaber@trash.net>
Wed, 10 Oct 2007 23:32:41 +0000 (16:32 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:59 +0000 (16:55 -0700)
commit3c0cfc135829b98f7a4894938652f9ef78e24237
tree0036bb59e5d0df59d04c22c83fa265936e36939f
parent32d1316b91424423d7b44944f18cdaca268f3db2
[NET_SCHED]: Show timer resolution instead of clock resolution in /proc/net/psched

The fourth parameter of /proc/net/psched is supposed to show the timer
resultion and is used by HTB userspace to calculate the necessary
burst rate. Currently we show the clock resolution, which results in a
too low burst rate when the two differ.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c