Messages in this thread | | | Date | Wed, 29 Oct 2014 20:07:06 -0400 | Subject | Re: [PATCH] [percpu] Make the unit size of the first chunk the same as other chunks | From | Zhihui Zhang <> |
| |
I see your point. Thanks.
-Zhihui
On Wed, Oct 29, 2014 at 12:18 AM, Tejun Heo <tj@kernel.org> wrote: > Plesae restore lkml cc when replying. > > On Tue, Oct 28, 2014 at 08:12:30PM -0400, Zhihui Zhang wrote: >> My patch just increases the dynamic area in the first chunk slightly >> to cover the round up surplus. On my 64-bit laptop, it is 12288 bytes. > > As I wrote before, it's 12288 bytes on your laptop but it can be much > larger on other setups. > >> It will mostly likely be used, and in fact, a second chunk will be >> most likely needed as well. So in theory you are right, but in >> practice, it probably won't matter. > > If the initial dynamic reserve is too small, which could be the case > given the overall increase in percpu memory, increase > PERCPU_DYNAMIC_EARLY_SIZE. > > -- > tejun
| |