[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e38e8525-3e9c-8925-2160-228875183f28@bytedance.com>
Date: Wed, 12 Jul 2023 17:36:20 +0800
From: Peng Zhang <zhangpeng.00@...edance.com>
To: Alexander Potapenko <glider@...gle.com>
Cc: elver@...gle.com, dvyukov@...gle.com, akpm@...ux-foundation.org,
kasan-dev@...glegroups.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, muchun.song@...ux.dev,
Peng Zhang <zhangpeng.00@...edance.com>
Subject: Re: [PATCH v2] mm: kfence: allocate kfence_metadata at runtime
在 2023/7/12 17:30, Alexander Potapenko 写道:
>> Below is the numbers obtained in qemu (with default 256 objects).
>> before: Memory: 8134692K/8388080K available (3668K bss)
>> after: Memory: 8136740K/8388080K available (1620K bss)
>> More than expected, it saves 2MB memory. It can be seen that the size
>> of the .bss section has changed, possibly because it affects the linker.
>
> The size of .bss should only change by ~288K. Perhaps it has crossed
> the alignment boundary for .bss, but this effect cannot be guaranteed
> and does not depend exclusively on this patch.
> I suggest that you omit these lines from the patch description, as
> they may confuse the readers.
Ok, I'll revise it to avoid confusion.
Powered by blists - more mailing lists