[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1353898460.11282.2.camel@cr0>
Date: Mon, 26 Nov 2012 10:54:20 +0800
From: Cong Wang <amwang@...hat.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Florian Westphal <fw@...len.de>, netdev@...r.kernel.org,
Pablo Neira Ayuso <pablo@...filter.org>,
Thomas Graf <tgraf@...g.ch>, Patrick McHardy <kaber@...sh.net>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Herbert Xu <herbert@...dor.hengli.com.au>
Subject: Re: [RFC net-next PATCH V1 5/9] net: frag per CPU mem limit and LRU
list accounting
On Fri, 2012-11-23 at 14:08 +0100, Jesper Dangaard Brouer wrote:
> + // QUESTION: Please advice in a better alloc solution than
> NR_CPUS
> + struct cpu_resource percpu[NR_CPUS];
alloc_percpu(struct cpu_resource) ?
BTW, struct cpu_resource is not a good name here, it is too generic.
--
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