Messages in this thread | | | From | Dmitry Vyukov <> | Date | Tue, 30 Jul 2019 18:23:44 +0200 | Subject | Re: [PATCH] kmemleak: Increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K |
| |
On Tue, Jul 30, 2019 at 5:42 PM Catalin Marinas <catalin.marinas@arm.com> wrote: > > On Tue, Jul 30, 2019 at 11:40:27PM +0800, Nicolas Boichat wrote: > > The current default value (400) is too low on many systems (e.g. > > some ARM64 platform takes up 1000+ entries). > > > > syzbot uses 16000 as default value, and has proved to be enough > > on beefy configurations, so let's pick that value. > > > > This consumes more RAM on boot (each entry is 160 bytes, so > > in total ~2.5MB of RAM), but the memory would later be freed > > (early_log is __initdata). > > > > Suggested-by: Dmitry Vyukov <dvyukov@google.com> > > Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> > > Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
| |