mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
e6ded99cbb
Correct and simplify calculation of static rate. We need to round up the quotient of (local_rate - path_rate) / path_rate. To round up we add (path_rate - 1) to the numerator, so the quotient simplifies to (local_rate - 1) / path_rate. No idea how I came up with the old formula. Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
core | ||
hw/mthca | ||
include | ||
ulp/ipoib | ||
Kconfig | ||
Makefile |