Re: [RFC PATCH] mm/percpu.c: fix panic triggered by BUG_ON() falsely

2016-10-11 Thread zijun_hu
Hi all, please ignore this patch since it includes a build error i resend the fixed patch in v2 version i am sorry for my incaution On 2016/10/11 21:03, zijun_hu wrote: > From: zijun_hu > > as shown by pcpu_build_alloc_info(), the number of units within a percpu > group is educed by rounding u

[RFC PATCH] mm/percpu.c: fix panic triggered by BUG_ON() falsely

2016-10-11 Thread zijun_hu
From: zijun_hu as shown by pcpu_build_alloc_info(), the number of units within a percpu group is educed by rounding up the number of CPUs within the group to @upa boundary, therefore, the number of CPUs isn't equal to the units's if it isn't aligned to @upa normally. however, pcpu_page_first_chun