On 5/29/25 19:15, Lorenzo Stoakes wrote: > Add test to assert that we have now allowed merging of VMAs when KSM > merging-by-default has been set by prctl(PR_SET_MEMORY_MERGE, ...). > > We simply perform a trivial mapping of adjacent VMAs expecting a merge, > however prior to recent changes implementing this mode earlier than before, > these merges would not have succeeded. > > Assert that we have fixed this! > > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> > Reviewed-by: Chengming Zhou <chengming.zhou@xxxxxxxxx> > Tested-by: Chengming Zhou <chengming.zhou@xxxxxxxxx> > Reviewed-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>