From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH next] netfilter: connlimit: move lock array out of struct connlimit_data
Date: Mon, 24 Mar 2014 12:09:49 +0100 [thread overview]
Message-ID: <20140324110949.GB5074@localhost> (raw)
In-Reply-To: <1395312819-18608-1-git-send-email-fw@strlen.de>
On Thu, Mar 20, 2014 at 11:53:39AM +0100, Florian Westphal wrote:
> Eric points out that the locks can be global.
> Moreover, both Jesper and Eric note that using only 32 locks increases
> false sharing as only two cache lines are used.
>
> This increases locks to 256 (16 cache lines assuming 64byte cacheline and
> 4 bytes per spinlock).
Applied, thanks Florian.
prev parent reply other threads:[~2014-03-24 11:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-20 10:53 [PATCH next] netfilter: connlimit: move lock array out of struct connlimit_data Florian Westphal
2014-03-24 11:09 ` Pablo Neira Ayuso [this message]
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=20140324110949.GB5074@localhost \
--to=pablo@netfilter.org \
--cc=fw@strlen.de \
--cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.