On 5/31/24 06:20, Chenliang Li wrote:
Add a test file for hugepage registered buffers, to make sure the fixed buffer coalescing feature works safe and soundly. Testcases include read/write with single/multiple/unaligned/non-2MB hugepage fixed buffers, and also a should-not coalesce case where buffer is a mixture of different size'd pages.
lgtm, would be even better if you can add another patch testing adding a small buffer on the left size of a hugepage, i.e. like mmap_mixutre() but the small buffer is on the other side. -- Pavel Begunkov