Subject: Re: [RFC net-next PATCH V1 5/9] net: frag per CPU mem limit and LRU list accounting

From: Cong Wang <[email-masked]>
Date: Mon, 26 Nov 2012 10:54:20 +0800

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.