> On Sun Sep 22, 2024 at 7:27 PM EEST, Jarkko Sakkinen wrote: > > Hi > > > > I started to look into this old issue with mm subsystem and SGX, i.e. > > can we make SGX VMA's to merge together? > > > > This demonstrates the problem pretty well: > > > > https://lore.kernel.org/linux-sgx/884c7ea454cf2eb0ba2e95f7c25bd42018824f97.camel@xxxxxxxxxx/ > > > > It was result of brk() syscall being applied a few times. Briging some context here. This can be fixed in the run-time by book keeping the ranges and doing unmapping/mapping. I guess this goes beyond what mm should support? I thought to plain check this as it has been two years since my last query on topic (if we could improve either the driver or mm somehow). BR, Jarkko