[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180619075349.sgs7xr7aafcdcfcy@breakpoint.cc>
Date: Tue, 19 Jun 2018 09:53:49 +0200
From: Florian Westphal <fw@...len.de>
To: Li RongQing <lirongqing@...du.com>
Cc: netdev@...r.kernel.org, steffen.klassert@...unet.com
Subject: Re: [PATCH][v2] xfrm: replace NR_CPU with nr_cpu_ids
Li RongQing <lirongqing@...du.com> wrote:
> The default NR_CPUS can be very large, but actual possible nr_cpu_ids
> usually is very small. For some x86 distribution, the NR_CPUS is 8192
> and nr_cpu_ids is 4, so replace NR_CPU to save some memory
Steffen,
I will soon submit a patch to remove the percpu cache; removal
improved performance for at least one user (and by quite a sizeable
amount).
Would you consider such removal for ipsec or ipsec-next?
If -next, consider applying this patch for ipsec.git.
Otherwise consider not applying this, as the code will go away soon.
Thanks,
Florian
Powered by blists - more mailing lists