Re: [PATCH] kmemleak: add oom= runtime parameter

2017-07-14 Thread Shu Wang
m, > shuw...@redhat.com, ch...@redhat.com > Sent: Friday, July 14, 2017 5:39:20 PM > Subject: [PATCH] kmemleak: add oom= runtime parameter > > From: Shu Wang > > When running memory stress tests, kmemleak could be easily disabled in > function create_object as system i

[PATCH] kmemleak: add oom= runtime parameter

2017-07-14 Thread shuwang
From: Shu Wang When running memory stress tests, kmemleak could be easily disabled in function create_object as system is out of memory and kmemleak failed to alloc from object_cache. Since there's no way to enable kmemleak after it's off, simply ignore the object_cache alloc failure will just lo