[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CADFvMY+qcNQMTKUgm3coGM6x_WGKJn-tv5XECBtOpTdVK1r1hw@mail.gmail.com>
Date: Wed, 29 Oct 2014 20:07:06 -0400
From: Zhihui Zhang <zzhsuny@...il.com>
To: Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [percpu] Make the unit size of the first chunk the same
as other chunks
I see your point. Thanks.
-Zhihui
On Wed, Oct 29, 2014 at 12:18 AM, Tejun Heo <tj@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists