Re: [NET]: Avoid divides in net/core/gen_estimator.c

2008-01-03 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Thu, 3 Jan 2008 14:12:35 +0100 > We can void divides (as seen with CONFIG_CC_OPTIMIZE_FOR_SIZE=y on x86) > changing ((HZ< > Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> Applied, thanks Eric. -- To unsubscribe from this list: send the line "unsubscr

[NET]: Avoid divides in net/core/gen_estimator.c

2008-01-03 Thread Eric Dumazet
We can void divides (as seen with CONFIG_CC_OPTIMIZE_FOR_SIZE=y on x86) changing ((HZ< diff --git a/net/core/gen_estimator.c b/net/core/gen_estimator.c index daadbcc..86037d1 100644 --- a/net/core/gen_estimator.c +++ b/net/core/gen_estimator.c @@ -135,7 +135,7 @@ skip: } if (!lis