[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071116.033238.167839530.davem@davemloft.net>
Date: Fri, 16 Nov 2007 03:32:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] NET : convert ip_rt_acct to per_cpu variables
From: Eric Dumazet <dada1@...mosbay.com>
Date: Fri, 16 Nov 2007 11:58:52 +0100
> [PATCH] NET : NET_CLS_ROUTE : convert ip_rt_acct to per_cpu variables
>
> ip_rt_acct needs 4096 bytes per cpu to perform some accounting.
> It is actually allocated as a single huge array [4096*NR_CPUS]
> (rounded up to a power of two)
>
> Converting it to a per cpu variable is wanted to :
> - Save space on machines were num_possible_cpus() < NR_CPUS
> - Better NUMA placement (each cpu gets memory on its node)
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Applied to net-2.6.25, thanks Eric.
-
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