From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: [PATCH 2/2] [IPV4] route: Dynamic hash table sizing.
Date: Wed, 9 Aug 2006 14:18:13 +0400 [thread overview]
Message-ID: <20060809101812.GA13336@2ka.mipt.ru> (raw)
In-Reply-To: <44D9B51B.5060004@tls.msk.ru>
On Wed, Aug 09, 2006 at 02:12:43PM +0400, Michael Tokarev (mjt@tls.msk.ru) wrote:
> On Wednesday 09 August 2006 09:53, David Miller wrote:
> []
> > - mult = ((u64)ip_rt_gc_interval) << long_log2(hmask + 1);
> > + mult = ((u64)(hmask + 1)) << (u64)ip_rt_gc_interval;
>
> Hmm.. shift *by* a 64-bit number?
I think it is done to shut compiler up.
But nevertheless ip_rt_gc_interval is 15000 on my machine.
> /mjt
--
Evgeniy Polyakov
next prev parent reply other threads:[~2006-08-09 10:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-09 7:49 [PATCHSET]: Dymamic route cache hash sizing David Miller
2006-08-09 7:53 ` [PATCH 1/2]: [IPV4] route: Locking infrastructure for dynamic routing cache sizing David Miller
2006-08-09 11:31 ` Herbert Xu
2006-08-09 23:05 ` David Miller
2006-08-09 7:53 ` [PATCH 2/2] [IPV4] route: Dynamic hash table sizing David Miller
2006-08-09 8:32 ` Eric Dumazet
2006-08-09 9:09 ` David Miller
2006-08-09 10:09 ` Eric Dumazet
2006-08-09 10:12 ` Michael Tokarev
2006-08-09 10:18 ` Evgeniy Polyakov [this message]
2006-08-09 11:14 ` David Miller
2006-08-15 8:35 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060809101812.GA13336@2ka.mipt.ru \
--to=johnpol@2ka.mipt.ru \
--cc=davem@davemloft.net \
--cc=mjt@tls.msk.ru \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).