[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081125.211651.252450470.davem@davemloft.net>
Date: Tue, 25 Nov 2008 21:16:51 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: Use a percpu_counter for sockets_allocated
From: Eric Dumazet <dada1@...mosbay.com>
Date: Tue, 25 Nov 2008 23:48:19 +0100
> [PATCH] net: Use a percpu_counter for sockets_allocated
>
> Instead of using one atomic_t per protocol, use a percpu_counter
> for "sockets_allocated", to reduce cache line contention on
> heavy duty network servers.
>
> Note : We revert commit (248969ae31e1b3276fc4399d67ce29a5d81e6fd9
> net: af_unix can make unix_nr_socks visbile in /proc),
> since it is not anymore used after sock_prot_inuse_add() addition
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists