Re: [PATCH 15/17] kernel/cpu: add num_active_cpu counter

2021-12-21 Thread Peter Zijlstra
On Sat, Dec 18, 2021 at 01:20:11PM -0800, Yury Norov wrote: > Similarly to the online cpus, the cpu_active_mask is actively used > in the kernel. This patch adds a counter for active cpus, so that > users that call num_active_cpus() would know the result immediately, > instead of calling the bitmap

Re: [PATCH 14/17] kernel/cpu: add num_present_cpu counter

2021-12-21 Thread Peter Zijlstra
On Sat, Dec 18, 2021 at 01:20:10PM -0800, Yury Norov wrote: > +EXPORT_SYMBOL(set_cpu_present); NAK ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 13/17] kernel/cpu: add num_possible_cpus counter

2021-12-21 Thread Peter Zijlstra
On Sat, Dec 18, 2021 at 01:20:09PM -0800, Yury Norov wrote: > Similarly to the online cpus, the cpu_possible_mask is actively used > in the kernel. This patch adds a counter for possible cpus, so that > users that call num_possible_cpus() would know the result immediately, > instead of calling the