[RFC, PATCH 14/22] mm, khugepaged: Do not collapse pages in encrypted VMAs

2018-03-05 Thread Kirill A. Shutemov
Pages for encrypted VMAs have to be allocated in a special way: we would need to propagate down not only desired NUMA node but also whether the page is encrypted. It complicates not-so-trivial routine of huge page allocation in khugepaged even more. I also puts more pressure on page allocator: we

[RFC, PATCH 14/22] mm, khugepaged: Do not collapse pages in encrypted VMAs

2018-03-05 Thread Kirill A. Shutemov
Pages for encrypted VMAs have to be allocated in a special way: we would need to propagate down not only desired NUMA node but also whether the page is encrypted. It complicates not-so-trivial routine of huge page allocation in khugepaged even more. I also puts more pressure on page allocator: we