Re: [PATCH v2 01/13] virhostmem: Introduce virHostMemGetTHPSize()

2021-02-18 Thread Peter Krempa
On Thu, Feb 18, 2021 at 14:30:56 +0100, Michal Privoznik wrote: > New virHostMemGetTHPSize() is introduced which allows caller to > obtain THP PMD (Page Middle Directory) size, which is equal to > the minimal size that THP can use, taken from kernel doc > (Documentation/admin-guide/mm/transhuge.rst

[PATCH v2 01/13] virhostmem: Introduce virHostMemGetTHPSize()

2021-02-18 Thread Michal Privoznik
New virHostMemGetTHPSize() is introduced which allows caller to obtain THP PMD (Page Middle Directory) size, which is equal to the minimal size that THP can use, taken from kernel doc (Documentation/admin-guide/mm/transhuge.rst): Some userspace (such as a test program, or an optimized memory all

[PATCH v2 01/13] virhostmem: Introduce virHostMemGetTHPSize()

2021-02-09 Thread Michal Privoznik
New virHostMemGetTHPSize() is introduced which allows caller to obtain THP PMD (Page Middle Directory) size, which is equal to the minimal size that THP can use, taken from kernel doc (Documentation/admin-guide/mm/transhuge.rst): Some userspace (such as a test program, or an optimized memory all