Messages in this thread | | | Subject | Re: [PATCH v3] kmemleaak: survive in a low-memory situation | From | Qian Cai <> | Date | Tue, 26 Mar 2019 18:52:04 -0400 |
| |
On 3/26/19 12:06 PM, Catalin Marinas wrote: > I wonder whether we'd be better off to replace the metadata allocator > with gen_pool. This way we'd also get rid of early logging/replaying of > the memory allocations since we can populate the gen_pool early with a > static buffer.
I suppose this is not going to work well, as DMA_API_DEBUG use a similar approach [1] but I still saw it is struggling in a low-memory situation and disable itself occasionally.
[1] https://lkml.org/lkml/2018/12/10/383
| |