Monday 11 July 2016

Problems with kdump runtime memory allocation patch

After creating the kdump run time memory allocation patch using CMA (Contiguous memory allocator) framework we got review from some members of linux kernel community. They mentioned some issues with CMA.

*CMA doesn't work as it should work. It fails to allocate memory from a CMA area sometime. As, kernel can pin the movable pages (directly or using reference count). This will make the pages temporarily unmovable. hence, CMA fails to allocate memory.

https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org/thread/V4T3QOKEUT4EYUWB3G44SIEJGFI42FQO/

https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org/thread/7KFUPRFNIB7BIS6JCUJ4AVH5YURSIKAJ/

People are trying to solve this problems their own way. Companies using some modified version of CMA for their purpose. There is not any solution to the mainline yet.

No comments:

Post a Comment